I'm trying to use AVIStreamOpenFromFile
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_avistreamopenfromfile.aspand its second argument is LPCTSTR szFile. I am using the QT library rather than MFC. I cannot include <afx.h> library without getting errors, therefore I am not able to use CString. How would I pass a valid argument into that function with anything under the C++ standard library, such as char, string, etc...?
Thanks.
Start Free Trial