How to catch no camera conected error

Ask questions on using Emgu CV with C++
Post Reply
zlc
Posts: 12
Joined: Tue Apr 21, 2009 7:38 am

How to catch no camera conected error

Post by zlc » Tue Jun 02, 2009 3:24 pm

I use

Code: Select all

Capture capture = gcnew Capture();
capture->QueryFrame() 
When i run my application and i don't connect a camera the aplication crashes.
how to catch no camera connection error?

Post Reply