Hi all.
As I know there is no support of hooks in win ce. I have to track app
execution (i.e. to be notified when some process is started) and to be
notified when some specific window is created. Is it possible somehow to do
this? And if possible how?
Thanks in advance for any help.

Re: Tracking process and windows creation by Chris

Chris
Thu Mar 10 12:51:40 CST 2005

The toolhelp APIs can give you a list of running processes and threads.
--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate


"Max" <Max@discussions.microsoft.com> wrote in message
news:18FB3C54-24F7-48F3-954B-BD08A1E982CB@microsoft.com...
> Hi all.
> As I know there is no support of hooks in win ce. I have to track app
> execution (i.e. to be notified when some process is started) and to be
> notified when some specific window is created. Is it possible somehow to
> do
> this? And if possible how?
> Thanks in advance for any help.
>



Re: Tracking process and windows creation by Max

Max
Fri Mar 11 03:45:03 CST 2005

Thanks for help.
Using toolhelp API I should periodically examine the list of running
processes. Frequently calling corresponding API function and then examining
the list would, as I think, degrade perfomance of the system.

"Chris Tacke, eMVP" wrote:

> The toolhelp APIs can give you a list of running processes and threads.
> --
> Chris Tacke
> Co-founder
> OpenNETCF.org
> Has OpenNETCF helped you? Consider donating to support us!
> http://www.opennetcf.org/donate
>
>
> "Max" <Max@discussions.microsoft.com> wrote in message
> news:18FB3C54-24F7-48F3-954B-BD08A1E982CB@microsoft.com...
> > Hi all.
> > As I know there is no support of hooks in win ce. I have to track app
> > execution (i.e. to be notified when some process is started) and to be
> > notified when some specific window is created. Is it possible somehow to
> > do
> > this? And if possible how?
> > Thanks in advance for any help.
> >
>
>
>

Re: Tracking process and windows creation by ctacke/>

ctacke/>
Fri Mar 11 05:55:21 CST 2005

Yes, it will, but that's how it's done. The CE remote tools use this
technique.

-Chris


"Max" <Max@discussions.microsoft.com> wrote in message
news:8888A77A-106C-41B4-B9E0-A99039A8AEF0@microsoft.com...
> Thanks for help.
> Using toolhelp API I should periodically examine the list of running
> processes. Frequently calling corresponding API function and then
> examining
> the list would, as I think, degrade perfomance of the system.
>
> "Chris Tacke, eMVP" wrote:
>
>> The toolhelp APIs can give you a list of running processes and threads.
>> --
>> Chris Tacke
>> Co-founder
>> OpenNETCF.org
>> Has OpenNETCF helped you? Consider donating to support us!
>> http://www.opennetcf.org/donate
>>
>>
>> "Max" <Max@discussions.microsoft.com> wrote in message
>> news:18FB3C54-24F7-48F3-954B-BD08A1E982CB@microsoft.com...
>> > Hi all.
>> > As I know there is no support of hooks in win ce. I have to track app
>> > execution (i.e. to be notified when some process is started) and to be
>> > notified when some specific window is created. Is it possible somehow
>> > to
>> > do
>> > this? And if possible how?
>> > Thanks in advance for any help.
>> >
>>
>>
>>