Anders Persson wrote:

i have
1. sqlite3.dll
2. sqlite3.exe
3. sqlite3.h

VisualStudio C 6.0
and supose to use commands as
cl ...... somting

I don't have a clue how to talk with the dll some !!!

Anders,

You don't need sqlite3.exe so forget it.

In order to link your application to the sqlite3.dll dynamic library, you need to generate a static library that provides access to the dll. Microsoft provides a utility program called LIB to generate this file. You need to use the sqlite3.def file that is supplied along with the dll. Run the following command which will produce a file called sqlite3.lib.

 lib /machine:i386 sqlite3.def

Now you need to add this library to your application project. I assume you have included sqlite3.h into your application.

HTH
Dennis Cote

Reply via email to