I have a blank c++ project and when I include windows.h and try to run it, avg pops up and says it’s a hack tool. (I’ve tested it, just including the header file sets it off.)
I’ve added my programming folder as an exception so I can run it but I wouldn’t want to distribute a program like that is there something I can do differently to satisfy avg?
Note: I’m trying to follow an OpenGL tutorial.
Edit: The program compiles fine without the windows header file and avg pops up when I do include it but how else can a form be made?
Here’s a screenshot:

Building in release mode fixes the problem.