Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Avg thinks my program is a hack tool when I include windows.h

Tags:

c++

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: AVG error

like image 305
Alex Avatar asked Jul 19 '11 02:07

Alex


1 Answers

Building in release mode fixes the problem.

like image 104
Alex Avatar answered Oct 11 '22 09:10

Alex