I did create an windows application which an normal window...
Also I did create an Console via "AllocConsole" for sending an retrieving status data to/from tghe user...
Is there any possibility to forwad the outputhandle or the buffer to something like cout/cin to use those instead of ReadFile and WriteFile?...
Interesting and odd at the same time... and confusing. :)
Let me see if I understood: You have ONE application that shows a regular Win32 window (you have a message pump and a window procedure, etc.), and you also make this program create a console, and you want this console to receive input from the end user and the window part of the application. Did I get it right?
OR: Do you have 2 applications, one of which is a console program spawned by the Windows application?