Results 1 to 2 of 2

Thread: DLL and Linux

  1. #1

    Thread Starter
    Addicted Member wernerh's Avatar
    Join Date
    Sep 2000
    Posts
    170

    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?

  2. #2
    jim mcnamara
    Guest
    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
  •  



Click Here to Expand Forum to Full Width