cserban
06-11-2004, 06:51 AM
Hello
I developed an applications for Pocket PC 2003 using eVC 4.0 wich use the serial port for the communication with another device.
Everything is OK except the situation when the PocketPC is turned off when the port is oppened. In this case the PocketPC cannot be turned on without a soft reset.
I'm searching for a way to close the port before the turning off of the Pocket PC. How could I know if the Pocket PC is turning off? There is some notification or any message which are sent by Windows CE before turning off, something like NOTIFICATION_EVENT_WAKEUP?
Please help me with any suggestions.
Thanks.
I developed an applications for Pocket PC 2003 using eVC 4.0 wich use the serial port for the communication with another device.
Everything is OK except the situation when the PocketPC is turned off when the port is oppened. In this case the PocketPC cannot be turned on without a soft reset.
I'm searching for a way to close the port before the turning off of the Pocket PC. How could I know if the Pocket PC is turning off? There is some notification or any message which are sent by Windows CE before turning off, something like NOTIFICATION_EVENT_WAKEUP?
Please help me with any suggestions.
Thanks.