Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6 VC7 VC7.1 VC8.0 Visual-Studio , +
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 8-Feb-12 17:08pm
Comments
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.
 
--SA
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
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
v2

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 499
1 Nirav Prabtani 338
2 OriginalGriff 175
3 _Amy 170
4 PIEBALDconsult 160
0 OriginalGriff 7,640
1 Sergey Alexandrovich Kryukov 6,836
2 Maciej Los 3,919
3 Peter Leow 3,698
4 CHill60 2,742


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 9 Feb 2012
Copyright © CodeProject, 1999-2014
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