How to access content of Win32 App in VC ++ MFC GUI
I have two applications:
-
Win32 Console Application.
-
MFC GUI application.
I wanted to execute a console application in MFC GUI and I want to get data from this console application and display it in the GUI.
I am getting this error when compiling:
Fatal error C1189: #error: MFC version of dll is required to create MFC application with / MD [d] (CRT DLL version). Please #define _AFXDLL or don't use / MD [d]
The answer to IPC?
0
source to share
1 answer
The build error you are getting is irrelevant to what you are trying to achieve. To capture the output of a console application in a window, I refer you to this excellent article on CodeProject .
+2
source to share