Hi All,
I originally posted this as a reply in a related post in the bus forum, but I'm thinking it's probably not a bug, and just something I'm doing wrong.
I am using version 059, deploying to the MS Windows CE 5.0 emulator. I've added System.Data.SQLite.dll as a reference, so Visual Studio automatically deploys that DLL to the emulator, but it doesn't deploy the Interop DLL of course, so I simply manually copied it to the device using the Remote File Viewer. However, when I try to connect to the DB, it throws this error:
Can't find PInvoke DLL 'SQLite.Interop.059.DLL'.
I've tried putting the Interop DLL in the \windows folder and that didn't help. I'm pretty new to CE development, so I'm guessing I'm doing something wrong here, but I have no idea what it might be. Shouldn't it work with the Interop DLL manually copied to the application folder?
Note that I've tried 060 with the same results. I also tried an older version from before the unmanaged stuff was split out, and in that case it says "Can't find PInvoke DLL 'System.Data.SQLite.DLL'.
Note that it works fine on an *actual* Windows CE 5.0 device ... just not in the emulator. This makes me think something is missing from the emulator, but I have no clue what it might be.
Thanks for any pointers!
-Ross