This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Frontend  RSS feed

 
Joe Pawlak
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know if its possible to make a GUI frontend for a C++ console app? The app is all ANSI, no third-party includes.
If it is possible, could someone please point me in the right direction?
Thanks.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given that it's a console application, the most straightforward way would be for the Java GUI to launch the app using one of the java.lang.Runtime.exec() methods, then interact with it by printing commands to its standard input and reading and parsing its standard output, mimicing a normal user of the app.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!