>When I add the -static flag to my g++ command it gives me 'undefined >reference to' errors for every instance where I attempt to use a sqlite
>function. If you compile and use the header files from the projects, they will add a __declspec(dllimport) to the beginning of the files. In Visual Studio, this changes the symbol defs, so functions used in your linked code will not work. To fix it, just change the "#define SQLITE_EXPORT __declspec(dllimport)" to "#define SQLITE_EXPORT" near the top of sqlite.h. HTH, Aaron