I have an existing C++ win32 console app. This application contains a main program that continuously process some data from hardware in real time and has a server component (threaded) to stream the data out to clients.
I am thinking if it is possible to create a GUI for users to enter some program parameters before running this console program. The GUI i intend to only show the status of the console program, eg. running, no user interaction would be needed after the user clicks a Start button.
Any advise if this is possible? Thanks!
Absolutely, just create a thread with a window message loop and you’re done. This will likely require a separate thread for what you describe, although one could conceive other ways, depending on the exact details of your existing code.
The same is true for the converse: a GUI app can also create a console and output to it.