Matt
June 8, 2004, 21:41:06
When using the VS.net libraries provided via email, I've been getting bizzare "user breakpoint " exceptions when calling functions like this sample code:
if( ! DShowLib::InitLibrary( "number here" ) )
{
throwException( "Unable to initialized DShow Library.\n");
}
DShowLib::Grabber * grabby = new DShowLib::Grabber();
grabby->getAvailableVideoCaptureDevices();
The last line will throw an exception in vector.h's _Tidy() method. I've read a bit online and it seem to have to do with memory allocation, but I can't see what I'm doing wrong.
if( ! DShowLib::InitLibrary( "number here" ) )
{
throwException( "Unable to initialized DShow Library.\n");
}
DShowLib::Grabber * grabby = new DShowLib::Grabber();
grabby->getAvailableVideoCaptureDevices();
The last line will throw an exception in vector.h's _Tidy() method. I've read a bit online and it seem to have to do with memory allocation, but I can't see what I'm doing wrong.