Author Topic: Question on AV false positive detection work around  (Read 358 times)

InfiniteLoop

  • Regular Member
  • *
  • Posts: 44
Question on AV false positive detection work around
« 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?
« Last Edit: March 03, 2023, 08:46:15 PM by hutch-- »

jj2007

  • Member
  • *****
  • Posts: 13944
  • Assembly is fun ;-)
    • MasmBasic
Re: Question on AV false positive detection work around
« Reply #1 on: March 03, 2023, 10:15:07 PM »
If it's your own code, you can use ShowWindow

InfiniteLoop

  • Regular Member
  • *
  • Posts: 44
Re: Question on AV false positive detection work around
« Reply #2 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

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10583
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Question on AV false positive detection work around
« Reply #3 on: March 04, 2023, 01:01:22 AM »
JJ is right, ShowWindow() can be set to fullscreen, a sized window or minimised at startup.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

HSE

  • Member
  • *****
  • Posts: 2494
  • AMD 7-32 / i3 10-64
Re: Question on AV false positive detection work around
« Reply #4 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

Equations in Assembly: SmplMath