Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C++ (http://www.velocityreviews.com/forums/f39-c.html)
-   -   How to open a new console and write something out write printf() (http://www.velocityreviews.com/forums/t277026-how-to-open-a-new-console-and-write-something-out-write-printf.html)

Peter Hansen 08-24-2003 11:43 AM

How to open a new console and write something out write printf()
 
Assume there is a given Non-Gui (console is the only interface) library (DLL under Win2000).
Now I want to open a second (!) console out of this library/DLL and write something on
it with printf().
How do I do that ?

Thx
Peter


Joona I Palaste 08-24-2003 11:49 AM

Re: How to open a new console and write something out write printf()
 
Peter Hansen <peterio@hotmail.com> scribbled the following
on comp.lang.c:
> Assume there is a given Non-Gui (console is the only interface) library (DLL under Win2000).
> Now I want to open a second (!) console out of this library/DLL and write something on
> it with printf().
> How do I do that ?


You can't, not in ISO standard C. You'll have to use Windows-specific
code, which will be off-topic on comp.lang.c.

--
/-- Joona Palaste (palaste@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"Make money fast! Don't feed it!"
- Anon


All times are GMT. The time now is 06:39 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57