Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Console window wont go away

Andrew_Smith
New Contributor III
81 Views

My windows application uses a Fortran EXE. It gets started up using StartUpInfo flags to make it hidden. Using XE2019 the console appears anyway. How can I stop this?

0 Kudos
3 Replies
Steve_Lionel
Black Belt Retired Employee
81 Views

I'm at a loss to understand how the compiler could affect this. The StartupInfo flags are on CreateProcess, right? Can you tell us a bit more about what you're doing? When I write a program with no UI, I make it a Windows app (WinMain entry) that doesn't put up a window. Are you writing to the console?

Andrew_Smith
New Contributor III
81 Views

My windows app is not Fortran.

No I am not wrtting to the console.

It has been working fine in all previous fortran versions with a hidden console.

Yes I am use CreateProces to launch the exe.

Steve_Lionel
Black Belt Retired Employee
81 Views

Are you able to construct a small test case that demonstrates the problem? I'm having trouble understanding what you're doing. Maybe you can use the example here as a starter.

Reply