Technology Questions

Go Back   Technology Questions > Hardware Questions > Mobile Computers > Tablet PC > Tablet PC Software > Tablet PC Developers

Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 05-30-2007, 09:20 AM
David
Newsgroup Contributor
 
Posts: n/a
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 05-30-2007, 09:20 AM
  #2 (permalink)  
Old 06-11-2007, 06:30 AM
Stefan Wick[MS]
Newsgroup Contributor
 
Posts: n/a
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
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 03-14-2009, 04:30 PM
Registered User
 
Join Date: Mar 2009
Posts: 1
chueh8 is on a distinguished road
Re: instantiating wispits pen service

Hi, David,,

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



Quote:
Originally Posted by David View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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?

All times are GMT -8. The time now is 02:46 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0