I saw those comments before posting this question, but turns out these properties are never actually used in the public header. It's possible to make my own DLL using a different calling convention but I was trying to use the precompiled DLL downloaded from the website. Someone mentioned that Windows comes with a SQLite DLL in the system32 folder which uses stdcall so that'll work for me, even though the version might be a bit old.