Robert Simpson wrote: > > That's exactly what I ended up doing in the ADO.NET 2.0 wrapper. In order > to implement full Compact Framework support and callbacks, I ended up > writing stdcall entrypoints and callback wrappers for just about the entire > SQLite API. >
My Fortran interface does something similar, I have done it that way to hide the gory (and platform-dependent) details of passing parameters of the correct type to the SQLite C functions. On Windows I compile SQLite as a DLL - that takes care of the stdcall/cdecl issue. Regards, Arjen