Sending a message from one app to another on NT 
Author Message
 Sending a message from one app to another on NT

I am having great difficulties sending a message from one application to
another on a NT machine (NT 4.0 service patch 2).

The same two applications communicates fine on a Win95 machine.

I have tried various methods from DDE, WM_COPYDATA to user registered
messages to no success.

I am using VC 5.0 without the patch.

If anyone can shed any light on this matter, I would be very grateful
Many thanks in advance,
Andrew Nyunt



Tue, 04 Jan 2000 03:00:00 GMT  
 Sending a message from one app to another on NT

Quote:

> I am having great difficulties sending a message from one application
> to
> another on a NT machine (NT 4.0 service patch 2).

Your post did not say if the messages were constant and streamlike, or
just sporadic events.

If the latter, I'l take advantage of this opportunity to suggest the
example program on my web page that uses FindFirstChangeNotification to
signal an app when another app (in another computer, on Mars, etc)
writes a little file for it. At work we have found this is the simplest
and most direct way to send and receive small messages.

The example is source code for an ActiveX control called DirNotify.

  --  Phlip
====== http://users.deltanet.com/~tegan/home.html ======
  --  What do you suppose the odds are Bill Gates uses
 Microsoft Money 97?  --



Tue, 04 Jan 2000 03:00:00 GMT  
 Sending a message from one app to another on NT

Andrew,

If you are trying to trigger events -- why not use synchronization
objects liek mutexes or events.  If you neeed to share data try memory
mapped files or shared memory or named pipes.

Charles Steinhardt[MVP]



Thu, 06 Jan 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Sending a message from one app to another on NT

2. Trying to send a message from one app to another

3. Sending a message from VB-app to VC-app

4. Send focus message from one control to another?

5. Sending a simple message from one PC to another over network

6. how does one know which scroll bar sent message

7. Can one send a ON_COMMAND Message?

8. Send focus message from one control to another?

9. Send focus message from one control to another?

10. Sending messages from one window to another running in a seperate thread

11. how to send a message to one client ?

12. Sending data from one app to another

 

 
Powered by phpBB® Forum Software