|
| | |||||||
| Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications. |
| | LinkBack | Thread Tools |
| |||
| CoCreateInstance(CLSID_InkCollector, in a service failed ? Hi, I would like to understand how to initiate wispits.exe service correctly I have Win XP Pro/ Win 2000 OS and have Tablet PC runtime installed by Office 2003 + OneNote. After OS boots wispits.exe is not running be default, therefore pen input is not enabled until some application will launch wispits.exe. My application has NT service runs under LocalSystem account with auto start and it runs before any user is logged in (Session 0). Service is ATL /C++ , no .NET. My task is to launch wispits.exe pen service from my service. First I'm checking if Tablet PC components are installed : IInkCollector* pIInkCollector = NULL; HRESULT hr = CoCreateInstance(CLSID_InkCollector, NULL, CLSCTX_INPROC_SERVER, IID_IInkCollector, (void **)&pIInkCollector); if (SUCCEEDED(hr)) { /* InkCollector is usable. */ blRet = true; InkCollectionMode colMode = ICM_InkAndGesture; pIInkCollector->put_CollectionMode(ICM_InkAndGesture); pIInkCollector->put_Enabled(VARIANT_TRUE); pIInkCollector->Release(); // other code } This code indicates that Tablet PC is present. However I do not understand how to launch wispits.exe correctly, as far as I understand I should not launch this process directly, but OS will do this as response to some kind of Tablet PC API call. Also may be it is not possible to have wispits running without interactive user session? Can anybody help me with this? Thanks a lot. |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 'User Profile Service service failed the logon | george1dful | Windows Vista | 11 | 11-10-2009 12:39 PM |
| User Profile Service: Service Failed Logon | Kinhaven | Windows Vista | 1 | 03-24-2009 03:53 AM |
| HELP: Can't log in: "User Profile Service service failed the logon" | void.no.spam.com@gmail.com | Windows Vista | 2 | 05-24-2008 12:30 PM |
| CoCreateInstance Error | weishi | Windows XP | 3 | 11-22-2007 03:30 AM |
| PDIHWCTL service failed, EventID: 7000, Source: Service Control Manager Eventlog Provider | ls [sb] | Windows Vista | 0 | 06-20-2007 08:30 PM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |