Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor II
17 Views

Console window wont go away

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
Highlighted
Black Belt Retired Employee
17 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?

0 Kudos
Highlighted
New Contributor II
17 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.

0 Kudos
Highlighted
Black Belt Retired Employee
17 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.

0 Kudos