Open rigdern opened 6 years ago
Two changes need to be made to all of the DllImports for "winsqlite3":
DllImports
Cdecl
StdCall
ExactSpelling
true
For example:
[DllImport("winsqlite3", EntryPoint = "sqlite3_open", CallingConvention = CallingConvention.Cdecl)]
should be:
[DllImport("winsqlite3", EntryPoint = "sqlite3_open", CallingConvention = CallingConvention.StdCall, ExactSpelling = true)]
Two changes need to be made to all of the
DllImports
for "winsqlite3":Cdecl
toStdCall
ExactSpelling
has to be set totrue
For example:
[DllImport("winsqlite3", EntryPoint = "sqlite3_open", CallingConvention = CallingConvention.Cdecl)]
should be:
[DllImport("winsqlite3", EntryPoint = "sqlite3_open", CallingConvention = CallingConvention.StdCall, ExactSpelling = true)]