Forums

Full Version: CTVLDSCapture GetDeviceList problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have problem with CTVLDSCapture's VideoCaptureDevice.GetDeviceList method.

I call it like in AdvancedVideoCapture demo
Code:
VCL_InitControls( m_hWnd );
CTStrings ADevicesList;
VLDSCapture.VideoCaptureDevice.GetDeviceList( ADevicesList );
VCL_Loaded();

and every time I run this code I receive access violation in CDSCaptureDeviceCode.h line 216. AdvancedVideoCapture demo compiles and works properly on my computer but the same code in my project not.

I have Win7/64 bit and Visual Studio 2010
I've found where the problem is. Several functions of VideoLab don't work with UNICODE character set.
Reference URL's