09-21-2021 03:21 AM
I am making Labwindows CVI application which need to be started as Graphical User Interface if there is no parameters and in Command Line (no UI) is there are some parameters.
So in the "BUILD" / "TARGET SETTING" menu, I set the "Create Console Application" item.
But when I launch the application with no parameter, I have a "console windows" that appear.
How would you do to avoid starting that "console window" or close it?
Thanks for your help.
Best regards,
09-21-2021 04:23 AM
Hello,
you have SetStdioWindowOptions(..., BringToFrontWhenModified, ...) and SetStdioWindowVisibility() but those may be for the old type of 'DOS' window. When you select the console option in Target Settings, I think it'll show on start. In that case there might be some deep settings in the Windows SDK...
09-27-2021 02:03 AM
Hello,
I have exactly the same problem,
The only way I have found to hide the STDIO windows is to call SetStdioWindowSize (0, 0);
SetStdioWindowVisibility (FALSE); doesn't seem to work for my version of LabWindows CVI.
Best regards,
Serge