On 4/25/07, Dennis Cote <[EMAIL PROTECTED]> wrote:
To use the sqlite3.dll with Borland C++ you need to build a Borland specific import library for the dll, and then add this library to your project. The library will open the sqlute3 dll whenever you call one of the included functions. This library is built using command line utilities provided by Borland, impdef.exe and implib.exe. First run impdef to extract the symbol definitions from the dll. This will create the file sqlite3.def. impdef -a sqlite3.def sqlite3.dll Now run implib to generate the import library, sqlite3.lib. implib sqlite3.lib sqlite3.def In theory these steps can be combined, but I have had errors with missing symbols if I use implib to extract the symbols and generate the library at the same time. I believe this is a Borland bug. Now add the sqlite3.lib file to your project and rebuild and it should work. HTH Dennis Cote
Thanks. It worked like a charm. -- Scott Hill "May you solve interesting problems" - Author Unknown "A fanatic is one who can't change his mind and won't change the subject." - Sir Winston Churchill