title: How to access win32 console App Data in VC++ MFC GUI
body: <p>I have two apps:</p>
  
  <ol>
  <li><p>Win32 Console App.</p></li>
  <li><p>MFC GUI App.</p></li>
  </ol>
  
  <p>I wanted to execute the console app in MFC GUI and I am want to get data from that Console app and display them in GUI.</p>
  
  <p>I get this error while compiling:</p>
  
  <blockquote>
    <p>fatal error C1189: #error :  Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]</p>
  </blockquote>
  
  <p>Is IPC the answer?</p>