Convert VB6.dll file to .net dll

I have a dll file written in VB6. I understand that I can add this DLL file as a link in the VS project, but I need to add this DLL file as an embedded resource for my VS solution. Then I would like to call this .dll file to call the function.

However, I cannot load the DLL file as an assembly because it was written in VB6. Assuming I can't just rewrite this code on .net, does anyone have a working solution to convert this DLL into a recognizable build file?

+4
source share
1 answer

You will not need to convert it, you just need to refer to it as an unmanaged DLL. For more information on how to do this, see http://msdn.microsoft.com/en-us/magazine/cc301501.aspx .

+5
source

All Articles