Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VC6 VC7 VC7.1 VC8.0 Visual-Studio , +
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.
I dons't want to use sockets.
Posted 8-Feb-12 18:08pm
SAKryukov at 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.
Coder Block at 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

So you are on windows-
Try any of these.
Data Copy
File Mapping
Windows Sockets
Well Data Copy^ and Pipe^ would be easy options.

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

  Print Answers RSS
0 Maciej Los 470
1 Sergey Alexandrovich Kryukov 424
2 OriginalGriff 360
3 Abhinav S 250
4 CHill60 240
0 Sergey Alexandrovich Kryukov 10,102
1 OriginalGriff 9,495
2 Peter Leow 5,241
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 3,076

Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 9 Feb 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100