能力值:
( LV10,RANK:170 )
|
-
-
2 楼
#include "stdafx.h"
#pragma comment(linker,"/export:MsgBox=User32.MessageBoxA")
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
|
能力值:
( LV10,RANK:170 )
|
-
-
3 楼
#include "stdafx.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
HMODULE hMod=LoadLibrary("dllHijack.dll");
typedef DWORD (__stdcall *MSGBOX)(DWORD,LPSTR,LPSTR,DWORD);
MSGBOX addr=(MSGBOX)GetProcAddress(hMod,"MsgBox");
addr(0,0,0,0);
return 0;
}
这样就ok了
|
能力值:
( LV5,RANK:70 )
|
-
-
4 楼
谢谢,可以了.
|
|
|