---------- Forwarded message ---------- From: Bart Smissaert <bart.smissa...@gmail.com> Date: Tue, Sep 5, 2017 at 12:55 PM Subject: Problem on Windows 10 machines To: General Discussion of SQLite Database < sqlite-users@mailinglists.sqlite.org>
Have a std_call compiled dll (sqlite3 3.20.1) that works perfectly fine on a Win 7 machine. On 2 different Win 10 machines I get a crash though when using the dll. This happens already when I run sqlite3_initialize. When I omit that step it will crash on the next first call to the dll, which is sqlite3_open_v2. I use this dll from VB6. I compile in MSVS 2013 and have compiled on the Win 10 machine as well, all with no problems. These are the settings I have in MSVS: All Options: -------------------- /GS /TC /analyze- /W3 /Zc:wchar_t /Zi /Gm- /O2 /Fd"Release\vc120.pdb" /fp:precise /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "SQLITE3_STDCALL_EXPORTS" /D "SQLITE_ENABLE_JSON1" /D "SQLITE_ENABLE_COLUMN_METADATA" /D "SQLITE_INTROSPECTION_PRAGMAS" /D "_WINDLL" /errorReport:prompt /WX- /Zc:forScope /Gz /Oy- /MD /Fa"Release\" /EHsc /nologo /Fo"Release\" /Fp"Release\SQLite3_StdCall.pch" Additional Options: -------------------- sqlite3.c /Gz -DSQLITE_API=__declspec(dllexport) -O2 -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_SYSTEM_MALLOC - DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_STAT4 -link -dll -out:SQLite3_StdCall.dll Preprocessor: -------------------- WIN32 NDEBUG _WINDOWS _USRDLL SQLITE3_STDCALL_EXPORTS SQLITE_ENABLE_JSON1 SQLITE_ENABLE_COLUMN_METADATA SQLITE_INTROSPECTION_PRAGMAS As said, this works all perfectly fine on the Win7 machine. I looked into the WIN32 setting but that doesn't seem to be the problem. Could there somehow be a missing dependency on the Win10 machines? Could the problem be that SQLite is installed by MS already on those machines? Any idea what could be the problem here? RBS _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users