Exclamation[HELP]MSGBOX UPON INJECTION!

Posts 115 of 17 · Page 1 of 2
[HELP]MSGBOX UPON INJECTION!
How do i make it so when i inject the .dll a msgbox appears and you have to press okay first. Help is appreciated.
You code it.
.... that didnt help at all. If i could code it i wouldnt have made this thread.
Code it.
Compile it.
Run it.
Code it in assembly, and i'll suck your cock.
Quote Originally Posted by Kallisti View Post
Code it in assembly, and i'll suck your cock.
In pure ASM? Or inline asm on c++?
Quote Originally Posted by V3CT0R View Post
In pure ASM? Or inline asm on c++?
Dreamcast Asm
After including the basic standard headers "Windows.h" and so forth add this and compile should do the trick:

Code:
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int iCmdShow )
{
          MessageBox( NULL, "Your Message Here", "Your Title Here", MB_OK );
          return 0;
}
If you "coded" an Injector, You know how to do a damn box with an "Ok" Button / A WinAPI MessageBox Methinks.
#include <windows.h>

//.....


MessageBoxA(NULL, "Text","Title", MB_OK);

Regards
Call MessageBox in the DLL's main function.

[php]
bool __stdcall DllMain(HINSTANCE hInst,DWORD Reason,void* lpReserved)
{
if(Reason == DLL_PROCESS_ATTACH)
{
MessageBox(NULL,"OP is a ******","OP is a ******",MB_OK);
}
return true;
}
[/php]
Quote Originally Posted by Void View Post
Call MessageBox in the DLL's main function.

[php]
bool __stdcall DllMain(HINSTANCE hInst,DWORD Reason,void* lpReserved)
{
if(Reason == DLL_PROCESS_ATTACH)
{
MessageBox(NULL,"OP is a ******","OP is a ******",MB_OK);
}
return true;
}
[/php]
You should thank Void, he just spoonfed you
Quote Originally Posted by _-Blazin-_ View Post
You should thank Void, he just spoonfed you
I agree, you should thank me.
I read that as Spoonf /facepalm
Posts 115 of 17 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?