P
Paul
I am trying to utilize the native CeRunAppAtEvent function to register
my application for the NOTIFICATION_EVENT_WAKEUP event. I am not
getting the documented results. The API documentation states:
" The application is started with a system-defined command line. If
there was already an instance of the application running, the new
instance must send a private message to the existing instance and then
shut down. The command line, which corresponds to the registered
event, can be one of the following string constants.
[table of constants and values...]
The string values in this table are processed as command line
commands. In some cases, the part of the command line that follows the
string is treated as a parameter. "
If my application is running, and the device goes to sleep: I expect
another instance of my application to start. But this is not
happening. When the device is turned on again my Main method is never
called, the application is only brought to the top of the z order (if
it wasn't on top to start with). It seems like the .Net framework is
not allowing multiple instances of the application to execute.
Does anyone have any suggestions, or am I misunderstanding the
documentation?
Thanks,
Paul
my application for the NOTIFICATION_EVENT_WAKEUP event. I am not
getting the documented results. The API documentation states:
" The application is started with a system-defined command line. If
there was already an instance of the application running, the new
instance must send a private message to the existing instance and then
shut down. The command line, which corresponds to the registered
event, can be one of the following string constants.
[table of constants and values...]
The string values in this table are processed as command line
commands. In some cases, the part of the command line that follows the
string is treated as a parameter. "
If my application is running, and the device goes to sleep: I expect
another instance of my application to start. But this is not
happening. When the device is turned on again my Main method is never
called, the application is only brought to the top of the z order (if
it wasn't on top to start with). It seems like the .Net framework is
not allowing multiple instances of the application to execute.
Does anyone have any suggestions, or am I misunderstanding the
documentation?
Thanks,
Paul