Re: Cant print to screen

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Charles A Richardson wrote (in news:upr8xu3dJHA.4900@xxxxxxxxxxxxxxxxxxxx):

Yes, it does compile and link ok. And everything works. But I need status
info outputted to the screen.

But how do I redirect it to the console? Or do I need to create a console
window? I'm clueless here


Are you compiling it as a console program? Make sure that the target/subsystem
is set correctly.

--
Alec S.
news/alec->synetech/cjb/net



"Alec S." <nospam@xxxxxxxxx> wrote in message
news:uYiGdX3dJHA.5288@xxxxxxxxxxxxxxxxxxxxxxx
Charles A Richardson wrote (in
news:O48fQC3dJHA.4492@xxxxxxxxxxxxxxxxxxxx):

I have a basic Win32 dialog program that I need to turn into a command
line
program. I've got everything done, but none of the printf or cout
statements are printing to the console so that I can see progress etc. I
cant use messageboxes because this will be run in a batch format.

Am I missing something?


Does the program compile and link okay? If so, then you are probably
outputting
to somewhere else, like a file, the debug device or something.


--
Alec S.
news/alec->synetech/cjb/net


.



Relevant Pages

  • Re: Cant print to screen
    ... it does compile and link ok. ... But how do I redirect it to the console? ... "Alec S." ... Does the program compile and link okay? ...
    (microsoft.public.vc.language)
  • Re: [fw-wiz] Firewall Messages
    ... > I and others I know are getting console Firewall traffic and its rather ... > get sent to console and we are clueless as to why. ... Communication Media & Services S.r.l. ...
    (Firewall-Wizards)