Hi, I am trying to modify the amcap, an application from Windows SDK's example to capture video from UVC webcam having resolution 1600x1200px.
I am trying to hardcode some variables here like filename, default resolution, type of format etc.
WCHAR wszCaptureFile[260];
gcap.wszCaptureFile = (WCHAR)"Capture.avi\0" //modified
gettnig error:
1>.\amcap.cpp(3887) : error C2440: '=' : cannot convert from 'WCHAR' to 'WCHAR [260]'
Please help.
-Rahul