How do I free SQLServerCE's COM instance from the current running process?
- by David Thornley
It's been a while since I touched COM so be nice ;) This is under WindowsCE 5.0 with SQLServerCE 2.0.
After calling this to load SQLServerCE 2.0 : -
IDBInitialize *pIDBInitialize = NULL;
CoCreateInstance(CLSID_SQLSERVERCE_2_0, NULL, CLSCTX_INPROC_SERVER, IID_IDBInitialize, (void**)&pIDBInitialize);
Module load occurs for SSCE20.dll which…