VC声明:
extern "C"  char* _stdcall RecogniseToFile(char* key,char* Path)
DELPHI调用:
Function get1(key:PChar;Path:pchar):PChar;stdcall;external 'Decode.dll' name get1;
注入到了游戏中再调用该函数,在有的位置 可以正常使用,有的位置 就会报内存错误,或者Privileged instruction.
不注入时,直接调用不出错.
大家帮忙分析下.谢谢!