好友
阅读权限10
听众
最后登录1970-1-1
|
有请精通c和e的大神帮翻译此段到e~谢谢~
VOID DisplayGameTextFunc(
wchar_t pszContent[],
int x,
int y
);
DWORD GameAddr=NULL;
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
Go();
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
void Go()
{
GameAddr=(DWORD)GetModuleHandle("game.dll");
if(GameAddr==NULL)
{
MessageBox(NULL,NULL,"no game.dll",0);
return;
}
if(*(int*)(GameAddr+0x361f62)!=0x30245c89)
{
MessageBox(NULL,NULL,"error Gamedll Version",0);
return;
}
MiniMap();
PowerAndRoshan();
}
|
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|