Commandline - Instance

  • Thread starter Thread starter Roger McFadden
  • Start date Start date
R

Roger McFadden

Hello

I want to let my application run in background, so if I start it without
commandline arguments, it should just start and do nothing.
That's working already
But if I am now "restarting" it with an argument while it is already
running, it is not creating a new instance in .NET CF, that's also ok, but
I'de like to receive these commandline-argument into the first instance...

Is that possible in .NET?

If yes, how can I do that?

Thanks a lot

Roger
 
Depends on your target. If it's PPC, then it's not simple - you have to
change the underlying classname of the app window so the second instance can
run.

Once you have that, you get the command line and then use IPC to marshal the
data to the first instance.

-Chris
 
Back
Top