Re: How to register an event in console application??



It probably uses Windows Messages for communication. Since a Console app
has no message pump, these don't get dispatched and you'll never get an
event.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--



"vjsharma" <vjsharma@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C1284BE8-B56B-4109-B021-1AA7FECED8A9@xxxxxxxxxxxxxxxx
I have developed one console application for WM 5.0. I have registere the
"SystemProperty.PhoneActiveCallCount" so that whenever this is changes its
event handler is called. But its event handler is not being hit even after
this system roperty changes. Is there any restriction for state and
notification broker in console application? Is the method to register the
event is different?


.



Relevant Pages