I have written a DLL in VB6.
Can this DLL run on a Linux/Unix platform?
If not, how do I convert this component to something that can run on Linux/Unix?
Does it need to be rewritten in another language?
Printable View
I have written a DLL in VB6.
Can this DLL run on a Linux/Unix platform?
If not, how do I convert this component to something that can run on Linux/Unix?
Does it need to be rewritten in another language?
dll's do NOT work in unix.
The closest thing to a dll in unix is an object library file that is linked dynamically (default behavior).
Gnu gcc will compile vanilla Microsoft VC++ code. gcc is available from www.gnu.org.
You will have strip off some of the _stdcall stuff from functions and other goodies. In other words, port the code to linux.
Compile it to either a .o file or into an object library file. Be sure to generate PIC - position independent code.