Avast Preventing running of C++ exe file

Dear All,

My version of Avast is 8.0.1489.300.

I have recently started writing programs in Dev C++. When I am running the output EXE file of certain CPP programs (especially those dealing with arrays or pointers), Avast is preventing the file from running (exe files opens and then closes quickly after showing a message from Avast). Even though, I have added the folder under Global exclusion list & exclusion under File system Scan, Avast is still preventing the EXE file from running. I know this question goes around a while and I have read the same issue with some other antiviruses as well. I have also read threads which says that exclusion had worked fine in older versions of Avast but not in a newer version. Since, I am not sure what might be the fix for my version of Avast, I am mentioning it here (8.0.1489.300).

Any help is appreciated. Thanks in advance.

Regards,
Akku

Please post a screenshot.

The exclusions worked and work correctly. So please post also a screenshot of what you added into the exclusions and where.

Hi,

Sorry for the late reply.

As for the error message: It was initially showing a message box (blue in color) which appear and quickly disappeared. This message box appeared and disappeared for couple of times I tried running the program and thereafter I didnt get that message but the exe file gets automatically terminated with the typical windows error message (shown in the screenshot attached).

I have also added the screen shot of the locations where I have added the exclusions.

Regards,
Akku

Where’s the screenshot of the avast! warning…!?

Hi,

As I mentioned, the message just appeared and quickly disappeared. The only visible feature I remember of the box was that its background color was blue. The box appeared only for the initial couple of times and thereafter I was getting the error message from windows (attached earlier).

It’s not related to avast! then, avast! warnings aren’t blue.