Advertisement
Guest User

Untitled

a guest
Apr 7th, 2013
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <Windows.h>
  2.  
  3. BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
  4. {
  5.     switch(fdwReason)
  6.     {
  7.     case DLL_PROCESS_ATTACH:
  8.         MessageBox(NULL, "TestDll.dll injected successfully.", "Great Sucess!", MB_OK);
  9.         break;
  10.     }
  11.  
  12.     return TRUE;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement