【发布时间】:2018-02-21 06:44:17
【问题描述】:
我在这个网站上搜索了一个答案,但最重要的答案对我不起作用,我一直收到这个错误。我最近(不确定我是否成功)将没有错误的项目从我的台式机导入到我的新笔记本电脑。每当我尝试运行时,我都会在多个文件中收到此错误,仅以一个为例:
错误 C2664:“DWORD CHackProcess::GetModuleNamePointer(LPSTR,DWORD)”:无法将参数 1 从“const char [11]”转换为“LPSTR”
这是在以下几行:
while (__dwordClient == 0x0) __dwordClient = GetModuleNamePointer("client.dll", __gameProcess.th32ProcessID);
while (__dwordEngine == 0x0) __dwordEngine = GetModuleNamePointer("engine.dll"6, __gameProcess.th32ProcessID);
while (__dwordVGui == 0x0) __dwordVGui = GetModuleNamePointer("vguimatsurface.dll", __gameProcess.th32ProcessID);
【问题讨论】:
-
请阅读Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - 总结是这不是解决志愿者的理想方式,并且可能会适得其反。请不要将此添加到您的问题中。
标签: c++ visual-c++