天天看點

cannot convert parameter 1 from 'const char *' to 'LPCWSTR

cannot convert parameter 1 from 'const char*' to 'LPCWSTR遇到這類字元串之間轉換出問題的時候,一般都是編碼使用的字元集的問題,到工程屬性中設定字元集為Multi-Byte,不要使用Unicode即可。