Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

instantiating wispits pen service

12 views
Skip to first unread message

David

unread,
May 30, 2007, 12:11:02 PM5/30/07
to
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

Stefan Wick[MS]

unread,
Jun 11, 2007, 9:27:01 AM6/11/07
to
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

chueh8

unread,
Mar 14, 2009, 8:30:55 PM3/14/09
to

Hi, David,,

I have similar issue as you did,, Have you fixed that issue?
-chueh8


--
chueh8

0 new messages