How to open a new console and write something out write printf()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Hansen

    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

    #2
    Re: How to open a new console and write something out write printf()

    Peter Hansen <peterio@hotmai l.com> scribbled the following
    on comp.lang.c:[color=blue]
    > 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 ?[/color]

    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.hel sinki.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

    Comment

    Working...