How to integrate MFC application with win32 console application

Posted on 2008-11-11
Last Modified: 2013-12-14
Hi All,
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
Question by:chaitanya_vemasani
    LVL 49

    Expert Comment

    What kinds of data do you want to transfer?

    Author Comment

    If i enter a string in edit box in MFC GUI, i need to get that string into the console application.
    LVL 49

    Accepted Solution

    There are a number of options.  Generic IPC techniques such as Pipes and sockets and DDE are discussed here:
       Interprocess Communications
    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.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
    Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now