error C2664: “CMyPlayerControl::Open”: 不能将参数 1 从“CString”转换为“LPCSTR”
???怎么回事
假设你的字符串变量叫str,加上强制转换(LPCTSTR)str
VS2012中默认编码是Unicode。CString是Unicode,而你需要转成成**LPTCSTR**