Commandline - Instance

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top