|
-
May 9th, 2002, 07:26 AM
#1
Thread Starter
Addicted Member
DLL and Linux
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?
-
May 9th, 2002, 12:44 PM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|