Click here to Skip to main content
15,883,759 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
Hi,
in my project there is some places where one exe want communicate with other exe.

Current approch:-
first exe data into text file on other exe read.
Not bad idea but if any missing in file writting or reading i got assertion.

to avoid that i want some mechanism so that ione exe can communicate with directly.

NOTE:-
I dons't want to use sockets.
Posted
Comments
Sergey Alexandrovich Kryukov 9-Feb-12 0:12am    
If you want to tell us "I don't want...", you better solve the problem on your own. Sockets is one of the best IPC approaches.

There are other methods, but... Who would be interested to spend any time helping you, if you might say "I don't want..." again? You should motivate such things if you really need any help.

--SA
Coder Block 9-Feb-12 0:49am    
oops you take it wrong way !!!!
actaully i known socket method about that.. i says "i dont want"..
i want alternative please help me on same....

1 solution

So you are on windows-

Try any of these.

Clipboard
COM
Data Copy
DDE
File Mapping
Mailslots
Pipes
RPC
Windows Sockets

Well Data Copy^ and Pipe^ would be easy options.
 
Share this answer
 
v2

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