• Post Reply Bookmark Topic Watch Topic
  • New Topic

Frontend

 
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: 24213
35
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!