Click here to Skip to main content
15,902,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have two different Win32 consol applications. Both these applications has multiple threads. I want to send message from thead_1 of application_1 to thread_1 of applcation_2. Can I do this ?? If yes .. then what all I need to do ??


I have used message queue beween threads of same application, but If I want to do same with threads of different applications ?
Thanks,

Regards,
Saurabh Raoot
Posted

1 solution

What you seek to do is called inter process communication (IPC). It is more complex than communicating between threads within a process. There are many mechanisms to achieve this.

An overview is given here:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa365574(v=vs.85).aspx[^]

You will need to work out how you wish to do this but shared memory is an option.

Interprocess Communication using Shared Memory[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900