Forums
CTVLDSCapture GetDeviceList problem - Printable Version

+- Forums (http://mitov.com/forum)
+-- Forum: Visual C++ / MFC Components (/forum-7.html)
+--- Forum: VideoLab (/forum-20.html)
+--- Thread: CTVLDSCapture GetDeviceList problem (/thread-432.html)



CTVLDSCapture GetDeviceList problem - Gregor - 07-29-2012 12:57 AM

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


RE: CTVLDSCapture GetDeviceList problem - Gregor - 07-31-2012 01:12 AM

I've found where the problem is. Several functions of VideoLab don't work with UNICODE character set.