SolvedHow to put msgbox? :P

Posts 1–6 of 6 · Page 1 of 1
How to put msgbox? :P
Im beginner so dont bully me whr do i put the msgbox code in this code?

Code:
#include <windows.h>

bool TeamESP = false;

void Start()
{
    while(1)
    {
        if(GetAsyncKeyState(VK_INSERT)&1)
        {
            if(TeamESP = !TeamESP)
            {
                TeamESP = true;
            }
            else
            {
                TeamESP = false;
            }

        }

        if(TeamESP == true)
        {
            *(BYTE*)(*(DWORD*)(CENSORED)+CENSORED)= 01;
            *(BYTE*)(CENSORED)= 01;
        }
        else if(TeamESP == false)
        {
            *(BYTE*)(*(DWORD*)(CENSORED)+CENSORED)= 00;
            *(BYTE*)(CENSORED)= 00;
        }
}
}

BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
    if (dwReason == DLL_PROCESS_ATTACH ) {
        CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) Start, 0,0,0);
    }
    return 1;
}
Code:
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
    if (dwReason == DLL_PROCESS_ATTACH ) {
MessageBox(NULL, TEXT("Your Message here"), TEXT("Your title here"), 0);
        CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) Start, 0,0,0);
    }
    return 1;
}
Quote Originally Posted by ScorpionVenom789 View Post
Code:
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
    if (dwReason == DLL_PROCESS_ATTACH ) {
MessageBox(NULL, TEXT("Your Message here"), TEXT("Your title here"), 0);
        CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) Start, 0,0,0);
    }
    return 1;
}
Quote Originally Posted by ReseviC View Post

}
MessageBox(NULL, TEXT("Your Message here"), TEXT("Your title here"), 0);
return 1;
Quote Originally Posted by COD3RIN View Post
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if (dwReason == DLL_PROCESS_ATTACH ) {
CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) Start, 0,0,0);
MessageBox(NULL, L"MessageBox Text", L"MessageBox caption", MB_OK;
}
return 1;
}
Thank you so much guys.. // @Minerva @Smoke close.
Quote Originally Posted by Aiman View Post
Im beginner so dont bully me whr do i put the msgbox code in this code?

Code:
#include <windows.h>

bool TeamESP = false;

void Start()
{
    while(1)
    {
        if(GetAsyncKeyState(VK_INSERT)&1)
        {
            if(TeamESP = !TeamESP)
            {
                TeamESP = true;
            }
            else
            {
                TeamESP = false;
            }

        }

        if(TeamESP == true)
        {
            *(BYTE*)(*(DWORD*)(CENSORED)+CENSORED)= 01;
            *(BYTE*)(CENSORED)= 01;
        }
        else if(TeamESP == false)
        {
            *(BYTE*)(*(DWORD*)(CENSORED)+CENSORED)= 00;
            *(BYTE*)(CENSORED)= 00;
        }
}
}

BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
    if (dwReason == DLL_PROCESS_ATTACH ) {
        CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) Start, 0,0,0);
    }
    return 1;
}
}
MessageBox(NULL, TEXT("Your Message here"), TEXT("Your title here"), 0);
return 1;
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if (dwReason == DLL_PROCESS_ATTACH ) {
CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) Start, 0,0,0);
MessageBox(NULL, L"MessageBox Text", L"MessageBox caption", MB_OK;
}
return 1;
}
Requested closure.

/Closed.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?