Hi

How to display a console (output) in window?
:confused:

stanks
Posted on 2002-04-23 02:36:23 by stanks
If you want to display the output of a console in your own window then you have to create a pipe and use ReadFile to get the info from the console and put it into your window.

have a look at iczellion's pipe tutorial
Posted on 2002-04-23 03:14:06 by Kudos
stanks,

If you have MASM32, use the console output function StdOut or alternatively, have a look at the source code to see how it works.

Regards,

hutch@movsd.com
Posted on 2002-04-23 03:19:13 by hutch--
Are you wanting to put the output in a Windows window or in a window that pulls up a DOS prompt? If it's the latter then you have to compile it as a console program. If using MASM, choose Console Build All instead of Build All.

I learned that just last week, from these boards.
Posted on 2002-04-23 13:44:52 by Ronin Magus
you actually don't *have* to link as console app to use consoles,
you can always AllocConsole :).
Posted on 2002-04-23 13:46:42 by f0dder
Hi

Simple: we have one console (command line) program that have some params. When we run this program it produces some output (e.g. ml.exe). I want to put this output in my windows program (in static box or edit box or...). One example is with RadASM when you compile and link (output window).

Thank you

stanks
Posted on 2002-04-23 14:56:09 by stanks
just have a look at 21 st tutorial of Iczelion...
Posted on 2002-04-23 15:22:50 by Vom-bonjour:-()
here is an image of it (look at the bottom)
Posted on 2002-04-23 15:28:12 by Vom-bonjour:-()
Thank you all guys

stanks
Posted on 2002-04-24 00:25:47 by stanks