15,473
社区成员




#include <windows.h>
typedef int (WINAPI *PMESSAGEBOXW)(HWND, PCWSTR, PCWSTR, INT);
int _tmain(int argc, _TCHAR* argv[])
{
HMODULE User32Module = LoadLibrary(L"user.dll");
PMESSAGEBOXW funcMessageBoxW = (PMESSAGEBOXW)GetProcAddress(User32Module,
"MessageBoxW");
if (NULL != funcMessageBoxW)
funcMessageBoxW(NULL, L"Test", L"T_T", 0);
if (User32Module)
FreeLibrary(User32Module);
return 0;
}