Been working with this project: https://sqliteforexcel.codeplex.com/ and further enhanced that SQLite3_StdCall.dll with more SQLite functions. As said before I don't know C, but can work things out by looking at other functions. Now stuck though on a complex one, sqlite3_create_function.
In the SQLite3_StdCall project, loaded in MS Visual Studio 2013 there is a file sqlite3.h, which has this: int sqlite3_create_function( sqlite3 *db, const char *zFunctionName, int nArg, int eTextRep, void *pApp, void (*xFunc)(sqlite3_context*,int,sqlite3_value**), void (*xStep)(sqlite3_context*,int,sqlite3_value**), void (*xFinal)(sqlite3_context*) ); Then there is the file SQLite3_StdCall.c, which should have something like this: SQLITE3_STDCALL_API int __stdcall sqlite3_create_function( sqlite3 *pDb, const char *zFunctionName, int nArg, int eTextRep, void *pApp, void(*xFunc)(sqlite3_context*, int, sqlite3_value**), void(*xStep)(sqlite3_context*, int, sqlite3_value**), void(*xFinal)(sqlite3_context*) ) { return sqlite3_create_function( pDb, zFunctionName, nArg, eTextRep, pApp, xFunc, xStep, xFinal); } The problem is with the last 3 void arguments. I don't know how to code this in the return section. I know this is off-topic, but maybe somebody can shed some light on this. RBS