Hello Sam,

Just recompile the code into a new DLL and tell the environment to
create a link library. I hate DLL's myself and only use static linkage
to SQLite. Using LoadLibrary's just too much hassle.

C

Sunday, February 24, 2008, 9:37:04 PM, you wrote:

SC> On Sun, Feb 24, 2008 at 9:12 PM, Roosevelt Anderson
SC> <[EMAIL PROTECTED]> wrote:
>> To use the dll you need to use the LoadLibrary windows function and define
>>  pointers to each of the sqlite functions. Here is a short example to get you
>>  started. For more on using DLLs try this MSDN link:
>>
>>  
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/dynamic_link_library_functions.asp

SC> Roosevelt,

SC> Thank you, I know all about LoadLibrary.  I also saw the header file
SC> that contains a structure with function pointers to all the exported
SC> methods.  But are you telling me that no one has published the code to
SC> load up that structure? In the mean time I used the info from the
SC> other post to simply compile the one big .c file as a DLL that
SC> generated the stub lib I needed to link my code against and it seems
SC> to run fine with the officially compiled DLL.

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



-- 
Best regards,
 Teg                            mailto:[EMAIL PROTECTED]

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

Reply via email to