By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,995 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,995 IT Pros & Developers. It's quick & easy.

Register for an application

P: n/a
I'm looking for infomation about registering an application in Windows. I have a client program and a server program. If the user opens the client first and there is no server to connect to I want it to register my app and when the server opens be notified. I know this is possible in OS10 but I'm not sure about windows. Any help?
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I looked at the documentation on this and I don't see how it helps me. I don't want to load a dll, I just want to be notified when my second app starts running. I also don't want to have to poll for it.
Nov 17 '05 #2

P: n/a
"Eric" <an*******@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.com...
I don't want to load a dll, I just want to be notified
when my second app starts running. I also don't
want to have to poll for it.


I'm not sure I understand. If you are asking if the o/s provides a way for
the first instance of an application to be automatically notified of the
launch of a subsequent instance then the answer is no. You'd have to build
that.

However, if your application is composed of an executable and a DLL then the
DLL will receive DLL_PROCESS_ATTACH notifications every time that an
instance (initial or subsequent) is launched. Note however that those
notifications come in the context of the application, however.

Regards,
Will
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.