LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent console from coming to the foreground after a printf ?

Solved!
Go to solution

Hello, hello,

I don't know if this is specific to programs compiled with CVI or if this happens with any program that writes to the console, but it's very annoying. If I have a program that writes to stdout (or stderr) in a standard Windows console (so, compiled with [Build][Target Settings][Create Console Application] ), every printf brings the console to the foreground.

 

How can I keep the console in the background ?

 

Thanks

0 Kudos
Message 1 of 2
(2,033 Views)
Solution
Accepted by topic author gdargaud

Ha, I knew there was something from the old days: SetStdioWindowOptions()...

Message 2 of 2
(2,020 Views)