How to integrate MFC application with win32 console application

Hi All,
Greetings...
I m new to visual c++. I have two different applications. once is MFC application and the other is win32 console application. i want to get the data from MFC application to win32 console application. can anyone explain me this in detailed.

Thanks in Advance
chaitanya_vemasaniAsked:
Who is Participating?
 
DanRollinsConnect With a Mentor Commented:
There are a number of options.  Generic IPC techniques such as Pipes and sockets and DDE are discussed here:
   Interprocess Communications
   http://msdn.microsoft.com/en-us/library/aa365574(VS.85).aspx
If your GUI app is going to start the console app, then you can also pass data to it via the command line when you start it.  The values on the command line are available in your main() fn as the argc[] array strings.
0
 
DanRollinsCommented:
What kinds of data do you want to transfer?
0
 
chaitanya_vemasaniAuthor Commented:
If i enter a string in edit box in MFC GUI, i need to get that string into the console application.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.