Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 862897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:13:07+00:00 2026-05-15T09:13:07+00:00

I have a Visual C console application (created in VC++2008EE) and I need to

  • 0

I have a Visual C console application (created in VC++2008EE) and I need to add GUI to it.

One idea was to invoke the console app as a subprocess and communicate with it using stdin and stdout. I tried to do that with Python subprocess module – but it deadlocks (probably because my console app is running continuously). As I understood from http://www.python.org/dev/peps/pep-3145/ it is not possible now to integrate continiously running console application with python subprocess module.

The other idea (more strait-forward probably) was to add a form to this console application project. But as I try to do it VS convers the project to one with “Common Language Runtime support” whatever it means, ads the form, a cpp file for form – and it’s not compiling anymore saying:

Command line error D8016 : '/MTd' and '/clr' command-line options are incompatible
error BK1506 : cannot open file '.\Debug\Form_TEST.sbr': No such file or directory

No idea what it means. I have never dealed with C++, but I have used C and Python some time.

What would you recommend?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:13:08+00:00Added an answer on May 15, 2026 at 9:13 am

    If you own the code for the console app, don’t mess around trying to talk to it using input and output streams. Extract the logic of your console app into a library, and call that library from a GUI of your choice – either Windows.Forms from C#, Python GTK, ordinary GTK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a written a Visual C++ console application (i.e. subsystem:console) that prints useful
Is there a way to have Visual Studio 2008 automatically add heading information to
I have Visual Studio web test attached nicely to a data source, but I
I have Visual Studio 2005 Professional ENU installed and want to create GUIDs using
I have visual studio 2008 installed on my PC. Can anyone tell me what
I have Visual Studio 2008 Professional and I am having issues with expanding and
I have Visual Studio 2008 with SP1 installed and it is crashing when I'm
I have Visual Studio 2008 Express SP1 installed on my machine. I tried to
Is there a way to place a watch on variable and only have Visual
How can I validate that my ASPNET AJAX installation is correct. I have Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.