Monday, February 25, 2008, 2:13:13 PM, you wrote:

NL> On Mon, Feb 25, 2008 at 2:37 AM, Sam Carleton
NL> <[EMAIL PROTECTED]> wrote:
>>  Thank you, I know all about LoadLibrary.  I also saw the header file
>>  that contains a structure with function pointers to all the exported
>>  methods.  But are you telling me that no one has published the code to
>>  load up that structure? In the mean time I used the info from the
>>  other post to simply compile the one big .c file as a DLL that
>>  generated the stub lib I needed to link my code against and it seems
>>  to run fine with the officially compiled DLL.

NL> The reason an import library isn't included is because you need a
NL> different one for each compiler you use to link.

NL> With Microsoft compilers you can use LIB.EXE to generate an import
NL> library for you given a DLL and a .DEF file. You can also google for
NL> IMPLIB. It does the same job for you, but without needing a .DEF file.

NL> Other compilers have similar systems.

NL> I don't recall the exact parameters, so just look at the command help
NL> (or google is your friend).


NL> Regards,
NL> ~Nuno Lucas
NL> _______________________________________________
NL> sqlite-users mailing list
NL> sqlite-users@sqlite.org
NL> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


For MSVC use:

c:\>lib /def:sqlite.def
to create the lib file to link against.

-- 
Best regards,
  Neville Franks, http://www.surfulater.com http://blog.surfulater.com
 

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to