Antivirus blocking access to camera

I am having trouble accessing the WebCam through Delphi, so I searched the internet for some components and found the following that I leave in the link below:

DirectX Delphi WebCam Capture Example

However, my antivirus still keeps blocking webcam access, even adding the .example exe to exceptions....the only way I can access it is by disabling the antivirus service I have (Avast).

Does anyone have any idea how to make the antivirus not block access?

Author: Marcelolx, 2017-05-04