Running app accepting commands

  • Thread starter Thread starter Franck Diastein
  • Start date Start date
F

Franck Diastein

Hi,

I'm designing an application, and I would like to be able to receive
external commands... I would like a behavior like eMule, when you click
on an ed2k link, the link is added to eMule, even if this app is running...

How can I handle this behavior in my app ?

TIA
 
Franck,

In this case, you have to create an asynchronous pluggable protocol (in
the case of IE). This will allow you to handle your own url scheme.
However, you have to implement it through COM interop, as there is no .NET
way to do it.

Then, when the link is processed, if the app is running (I recommend
having a unique named mutex which is held by the running instance of your
app), you can then use remoting to communicate with it.

Hope this helps.
 
Thank you, but I didnt explain correctly my problem...

I will do a new post.
 
Back
Top