|
|
Question : Command Line parameters into CeRunAppAtTime
|
|
hi guys,
i seem to be having a problem with CeRunAppAtTime.
i have managed to get it working to an extent, where it will schedule the application. now i want to pass in command line parameters, so different things can be done when the application is started.
i have changed my static void main to include String[] args.
when i call my application using CeRunAppAtTime(\\Program Files\\MyApplication\MyApplication.exe Download, ref SysTime);
i keep getting the error, "Cannot Execute "Program Files\MyApplication\MyApplication.exe Download" "
i have also tried, "CeRunAppAtTime(\\Program Files\\MyApplication\MyApplication.exe -Download, ref SysTime);"
can somebody please show me how to this??
I have also deployed to my phone, in the event that the emulator may not be working, but it still refuses to work.
i am using the WM6 SDK, C# to develop my application.
thanks
|
Answer : Command Line parameters into CeRunAppAtTime
|
|
you can create an exe that calls your app with a commandline parameter
|
|
|
|
|