R
roland
I have a program that can run in two modes:
- started by the user
- started at a event (after activesync)
The program behaves differenty in the two modes, so it is important to know
who or what started the program.
I know that when it is started by the event (set by a call to CERunAppAt )
the commandline holds an argument specifying what event triggered the
start-up. So if I could read the commandline arguments, everything would be
settled. In the framework this is done by Environment.Commandline, but this
is not implemented in the CF. Hence my question: is there any other way (an
API?) to get at the commandline arguments?
Thanks in advance,
Roland
- started by the user
- started at a event (after activesync)
The program behaves differenty in the two modes, so it is important to know
who or what started the program.
I know that when it is started by the event (set by a call to CERunAppAt )
the commandline holds an argument specifying what event triggered the
start-up. So if I could read the commandline arguments, everything would be
settled. In the framework this is done by Environment.Commandline, but this
is not implemented in the CF. Hence my question: is there any other way (an
API?) to get at the commandline arguments?
Thanks in advance,
Roland