SQLite Forum

Using sqlite3_load_extension on windows
Larry thanks for your efforts. I had no idea I was required to have the
-DSQLITE_API=__declspec(dllimport) -LD sqliteFcts.c
directive. What does it mean?

In any case I added it to the directives and got a string of error messages from the compiler of the form

[bcc32c Error] sqlite3.h(345): expected unqualified-id

When I double clicked the error messages in turn it highlighted different lines in sqlite3.h


SQLITE_API SQLITE_EXTERN const char sqlite3_version[];
SQLITE_API const char *sqlite3_libversion(void);
SQLITE_API const char *sqlite3_sourceid(void);
SQLITE_API int sqlite3_libversion_number(void);

etc. etc.