Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define WIN32_LEAN_AND_MEAN
- #include <windows.h>
- #include <stdio.h>
- #include "main.h"
- #include "Urlmon.h"
- BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
- {
- hModule;
- lpReserved;
- switch (ul_reason_for_call)
- {
- case DLL_PROCESS_ATTACH:
- case DLL_THREAD_ATTACH:
- case DLL_THREAD_DETACH:
- case DLL_PROCESS_DETACH:
- break;
- }
- return TRUE;
- }
- DWORD TestFunction(LPVOID str)
- {
- char msg[512];
- printf( msg, "%s", str);
- MessageBox(0, msg, "", MB_OK);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement