LOL, my son is nearly 50 :slight_smile:
I also tried compiling with MinGW, same story.
Here is a test app I wrote for testing.
I can mail you the source if you like, it’s in C++Builder6 format.
http://www.proasm.com/files/other/CamTest.zip

I found a way around the webcam black screen problem.
Set Avast into passive mode, it will ask you for a reboot.
After it has rebooted, switch passive mode off, it will now not ask you to reboot.
Everything works great.
Basically everytime you shut down your pc set Avast in passive mode before doing so :slight_smile: