LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

"Target Setting" "create console application"

Hello,

I'm trying to make an application which have 2 modes: commandline if there are some arguments at startup and Graphical only if not.

My problem is that if I dont check  "create console application" in "Target Setting", my application create an extra DOS windows to display my output which is not suitable for scripting, and if I check the "create console application" in"Target Setting" I have always an extra (unuseful) DOS windows in graphical mode.

Is there a way to suppress this DOS windows? and leave the Graphical application live?

Best regards,

Serge

0 Kudos
Message 1 of 3
(1,357 Views)

Is this question related to this other one? Even if it's not, you could try the suggestion given there that may be beneficial



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(1,333 Views)

Thank you Roberto, You're right, this is exactly the same subject.

But the result is not the one expected,

SetStdioWindowVisibility (FALSE);

do nothing, whatever option I choose (HOST_SYSTEM_STDIO or CVI_STDIO_WINDOW) for SetStdioPort()

The only way I've found is to SetStdioWindowSize (0, 0); to hide the stdio windows.

0 Kudos
Message 3 of 3
(1,316 Views)