Output text into console window from GUI app

Written by


Say, if my GUI Win32 app is started from a Command Prompt, can I output text into that console window? FYI, at that point in time I haven’t yet created a window, nor done any of the GUI app calls (RegisterClass, etc.)

I’m pretty much asking for a command like this:

Code:

_tprintf(_T("Hello"));

Go here to read the rest:
Output text into console window from GUI app

Related posts:

  1. printf weird output under Vista I have a console application that outputs strings using...
  2. Paste text into console Hi all: I'm trying to paste a string into...
  3. Paste text into console Hi all: I'm trying to paste a string into...
  4. How to print an output text inside a form? Hi, I have a simple program: I have two...
  5. avoid console screen to run EXE int main( void ) { char *msg = "A...

Related posts brought to you by Yet Another Related Posts Plugin.

Sep
04

Leave a Reply