The MASM Forum

General => The Laboratory => Topic started by: InfiniteLoop on March 03, 2023, 08:22:09 PM

Title: Question on AV false positive detection work around
Post by: InfiniteLoop on March 03, 2023, 08:22:09 PM
I just remembered. I have an important question, now you mention manifest.

How can you disable "fullscreen optimizations" in an .exe ? Using the manifest, the startup options i.e. maximize,minimize,run as admin etc or is there some Windows API?
Title: Re: Question on AV false positive detection work around
Post by: jj2007 on March 03, 2023, 10:15:07 PM
If it's your own code, you can use ShowWindow
Title: Re: Question on AV false positive detection work around
Post by: InfiniteLoop on March 03, 2023, 10:53:22 PM
No, the "fullscreen optimizations".
As far as I can tell there's no way to turn it off programmatically or as a simple compilation option or commandline i.e. startup options
Title: Re: Question on AV false positive detection work around
Post by: hutch-- on March 04, 2023, 01:01:22 AM
JJ is right, ShowWindow() can be set to fullscreen, a sized window or minimised at startup.
Title: Re: Question on AV false positive detection work around
Post by: HSE on March 04, 2023, 06:39:42 AM
There is some Win10 feature available for DirectX 9+ based games and applications, that apparently can be a problem sometimes:

https://www.minitool.com/news/disable-fullscreen-optimizations.html