Friday, August 15, 2008

Importing DLLs

Well, it was that time of the year again... to update the external dependencies for Item Assistant. Downloading and updaing SQLite always baffels me until I remember the hoops I went through (read: googling around for hours) last time I wanted to generate an import lib for use with the DLL.

So here is a link to the MS KB article: http://support.microsoft.com/kb/131313
And a good article about more advanced DLL handling: http://qualapps.blogspot.com/2007/08/how-to-create-32-bit-import-libraries.html

Update:
This is the gist of it:

Open Visual Stuidio command prompt and run:
lib /DEF:sqlite3.def

This will genereate the appropriate .lib and .exp file.

No comments:

Post a Comment