Trying to create an MFC dialog based application for reading video
I am writing a program using MFC Dialog application to read video. I am using the videolabs package as a reference. The error I am getting while compiling the program is -
1> c: \ users \ prashanth \ documents \ visual studio 2005 \ projects \ videodemo34 \ videodemo34 \ videodemo34dlg.cpp (105): error C2679: binary '=': operator not found that takes the right operand type 'const char [36 ] '(or no acceptable conversion)
Can anyone tell me how to fix this issue.
I would suggest that you double-click the Error message in the Visual Studio Error window and look at the code, or at least post the code here.
I would venture to suggest that you either defined an array of 36 char elements, or created a const string that you then try to copy to an element type that doesn't fit.
If you are trying to copy a filename / string, use strcpy_s. If it isn't, then the code will really help!
a source to share