Windows API 函数 GetProcAddress 被广泛用于取得函数指针地址。例如: typedef BOOL(WINAPI*pfnGetProductInfo)(DWORD,DWORD,DWORD,DWORD,PDWORD);pGPI=(pfnGetProductInfo)GetProcAddress(GetModuleHandleW(L...
ProcAddr:=GetProcAddress(nDllAddr,str);if ProcAddr<gt;nil then begin CallWindowProc(ProcAddr,nDllAddr,0,0,0);Result:=True;end;FreeLibrary(nDllAddr);end;end;反注册 function UnRegisterDllServer...