我是windows上的C/C++编码新手,在运行我的代码时遇到了这个错误。之前有人问过类似的问题,我将在下面链接,但是,这个解决方案对我不起作用,因为我没有更改字符集的选项。argument of type constchar* is incompatible with parameter of type "LPCWSTR" 下面是我的代码。
我目前正在为我的游戏编写补丁应用程序。由于我习惯于用Java编程--我很难与C++相处,所以补丁程序必须用C++来处理--不幸的是,在Java中,我可以在5分钟内完成这一任务,但需要一种新的语言。。。,但是我得到了错误"Das参数vom Typ ""constchar“ist mit dem参数vom Typ”LPCWSTR "“inkompatibel”。(应该是"cons
#include <windows.h>using namespace std;char* file="d:/tester";hFind = FindFirstFile(file, &FindFileData); // line of error says argument of type char* is incompatible with parameter of