[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 shouldn't be making DLLs if you can't code. If you need, it's documented. MessageBox Function (Windows)
If you "coded" an Injector, You know how to do a damn box with an "Ok" Button / A WinAPI MessageBox Methinks.
Originally Posted by TailsTehFox Code it in assembly, and i'll suck your cock. In pure ASM? Or inline asm on c++?
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; }
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]
Originally Posted by Void 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
Originally Posted by _-Blazin-_ You should thank Void, he just spoonfed you I agree, you should thank me.