|
| | |||||||
| Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications. |
| | LinkBack | Thread Tools |
| |||
| instantiating wispits pen service 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. David |
| |||
| RE: instantiating wispits pen service Hi David, can you clarify what exactly is your end goal? If you launch wisptis under the service account the interactive user won't be able to connect to it. Thanks, Stefan Wick "David" wrote: > 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. > David > |
| |||
| Re: instantiating wispits pen service Hi, David,, I have similar issue as you did,, Have you fixed that issue? -chueh8 Quote:
|
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Service Engineer III / Desktop & IT support / Customer Service Guru | TPC | Tablet PC Jobs | 0 | 09-15-2008 12:10 PM |
| CNC Machine Tool Service and/or PC Service relating to Manufacturing Equipment | TPC | Tablet PC Jobs | 0 | 05-10-2008 10:30 PM |
| Field Service Engineer/Mechanic to service our special machines, Indianapolis | TPC | Tablet PC Jobs | 0 | 10-26-2007 04:50 AM |
| PDIHWCTL service failed, EventID: 7000, Source: Service Control Manager Eventlog Provider | ls [sb] | Windows Vista | 0 | 06-20-2007 08:30 PM |
| launching wispits service | David | Windows XP Tablet PC Newsgroup | 6 | 05-30-2007 11:50 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |