I am using Borland C++ Builder Version 6 with no problems. The command-line that I use is:
implib -a sqlite3.lib sqlite3.def sqlite3.dll The options are the following: Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation Syntax: IMPLIB [options] libname[.lib] [EMAIL PROTECTED] | srcname] [srcname ...] Options: -a Add '_' alias for MS flavor cdecl functions -c Case sensitive symbols -f Force imports by name (with hints) -w No Warnings Respfile may contain a list of source files to process. Wildcards are ok for .DLL and .DEF file names. Good luck. -Marc -----Original Message----- From: Pigott, Paul [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 7:58 AM To: '[EMAIL PROTECTED]' Subject: RE: [sqlite] sqlite with Borland C++ 5.02 My apologies for continuing to bring this up, but I feel like I'm chasing my tail on this. When I run my version of IMPLIB, I get the following command line options: ===================== Borland Implib Version 3.0.1 Copyright (c) 1991, 1998 Borland International Syntax: IMPLIB [options] libname[.lib] [EMAIL PROTECTED] | srcname] [srcname ...] Options: -c Case sensitive symbols -f Force imports by name (with hints) -i Ignore WEP -o Remove module extensions (16bit Windows) -w No Warnings Respfile may contain a list of source files to process. Wildcards are ok for .DLL and .DEF file names. ===================== No "-a" option available. Is there a more recent version of the IMPLIB program? Also, I presume that the objective of this is to generate a .LIB file with the function names preceeded by the underscore character (e.g. "_sqlite3_open" instead of "sqlite3_open"). Based on the bit of reading I've done, does the .DEF file need to be changed around some on this as well? Again, thanks for everyone's help. Paul -----Original Message----- From: Dennis Cote [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 3:03 PM To: [EMAIL PROTECTED] Subject: Re: [sqlite] sqlite with Borland C++ 5.02 Pigott, Paul wrote: > Is there a pre-compiled binary for that? Or do you just convert the > .DLL to a .LIB with a utility? You need to generate an Borland import library for the DLL using Borland's IMPLIB utility. The command to use depends upon which version of sqlite you are using. For SQLite version 2 IMPLIB -a sqlite.lib sqlite.dll or for SQLite version 3 IMPLIB -a sqlite3.lib sqlite3.dll This will generate the appropriate .lib file which you will need to link to your project. You will also need to copy the DLL to your applications doirectory or the Windows/System directory so the application can load the DLL when needed.