Thread: Messagebox C++

Results 1 to 8 of 8
  1. #1
    Minerva's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    1,835
    Reputation
    211
    Thanks
    7,451
    My Mood
    Relaxed

    Messagebox C++

    Hello all, this can be very easy for some ppl, I am very noob in C++, I can create some simples hacks after see very videos in youtube, I need a little help for put a messabox in my project of new 255.

    This code below when I inject DLL dont stop come messagebox -.- and close my bs in first screen, without pop-up work fine.

    I dont wanna do hacks without pop-up, anyone can help me ???

    BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
    {
    MessageBox(0, "255 Injected Sucefull", "By MPGH Yulu", MB_OK);
    switch (fdwReason)
    {
    case DLL_PROCESS_ATTACH:
    // attach to process
    // return FALSE to fail DLL load
    break;
    case DLL_PROCESS_DETACH:
    // detach from process
    break;

    case DLL_THREAD_ATTACH:
    // attach to thread
    break;

    case DLL_THREAD_DETACH:
    // detach from thread
    break;
    }
    return 1; // succesful
    }
    Last edited by Minerva; 12-28-2014 at 11:11 AM.

  2. #2
    I like her, She likes him, He likes me. How about you?
    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    Anime World.
    Posts
    4,128
    Reputation
    888
    Thanks
    6,042
    My Mood
    Cynical
    1. fix your english. (do not worry)
    2. eh the DLL attached / if the DLL injected then show the box.




    • Member since March 20, 2012
    • Donator since March 1, 2014 (thanks to Jov)
    • Contributor since April 10, 2014
    • Minion Other MMORPG Games since August 1, 2015
    • Minion BlackShot since Nov 5, 2015

  3. #3
    Minerva's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    1,835
    Reputation
    211
    Thanks
    7,451
    My Mood
    Relaxed
    Quote Originally Posted by Jhem View Post
    1. fix your english. (do not worry)
    2. eh the DLL attached / if the DLL injected then show the box.
    English is fault of google translate, sorry.
    this code message appears over and over again.

  4. #4
    I like her, She likes him, He likes me. How about you?
    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    Anime World.
    Posts
    4,128
    Reputation
    888
    Thanks
    6,042
    My Mood
    Cynical
    Code:
    case DLL_PROCESS_ATTACH:
    add your message box here =]
    break;




    • Member since March 20, 2012
    • Donator since March 1, 2014 (thanks to Jov)
    • Contributor since April 10, 2014
    • Minion Other MMORPG Games since August 1, 2015
    • Minion BlackShot since Nov 5, 2015

  5. The Following User Says Thank You to Jhem For This Useful Post:

    [MPGH]Minerva (12-28-2014)

  6. #5
    MasterBS's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    BlackShot.exe
    Posts
    78
    Reputation
    30
    Thanks
    3,119
    My Mood
    Aggressive
    Make it simple

    Code:
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
     if ( dwReason == DLL_PROCESS_ATTACH )
     {
    //Start your hacks : D
     MessageBox(0,"Yulu gay","aqui o Titulo",MB_OK | MB_ICONINFORMATION); 
     }
    return 1;
    
    }
    Stop beg for all and start doing something yourself ..


  7. The Following User Says Thank You to MasterBS For This Useful Post:

    [MPGH]Minerva (12-28-2014)

  8. #6
    Minerva's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    1,835
    Reputation
    211
    Thanks
    7,451
    My Mood
    Relaxed
    Quote Originally Posted by MasterBS View Post
    Make it simple

    Code:
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
     if ( dwReason == DLL_PROCESS_ATTACH )
     {
    //Start your hacks : D
     MessageBox(0,"Yulu gay","aqui o Titulo",MB_OK | MB_ICONINFORMATION); 
     }
    return 1;
    
    }
    Obrigado Guilherme pela atenção, seu bag
    Last edited by Minerva; 12-28-2014 at 11:30 AM.

  9. The Following User Says Thank You to Minerva For This Useful Post:

    nikazizi97 (10-28-2015)

  10. #7
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,940
    Reputation
    315
    Thanks
    22,165
    My Mood
    Busy
    you can google that how to make message box in c++


    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !

  11. The Following User Says Thank You to COD3RIN For This Useful Post:

    nikazizi97 (10-28-2015)

  12. #8
    NormenJaydenFBI's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,213
    Reputation
    1021
    Thanks
    3,216
    Quote Originally Posted by yulu View Post
    Obrigado Guilherme pela atenção, seu bag
    Believe this is solved. Also keep in mind this is an English forum only, except for certain sections which have their designated language. If you want, you can post both languages just make sure there's an English translation along with it.
    /Closed


    MPGH Staff History:
    Minion: 02-12-2013 - 6-28-2013
    Former Staff: 6-28-2013 - 7-14-2014
    Minion: 7-14-2014 - 1-3-2015
    Minion+: 1-3-2015 - 6-1-2015
    Moderator: 6-1-2015 - 10-2-2016
    Global Moderator: 10-2-2016 - Current

    Current Sections:
    DayZ Mod & Standalone Hacks & Cheats
    BattleOn Games Hacks, Cheats & Trainers
    Minecraft Hacks
    Other Semi-Popular First Person Shooter Hacks
    Blackshot Hacks & Cheats
    Need For Speed World Hacks
    Other First Person Shooter Hacks
    CounterStrike: Global Offensive Hacks
    Garry's Mod Hacks & Cheats


    Donating:
    If you want to donate money to me I take Bitcoin & Paypal, PM me for either of these if you're interested and thanks.
    Top Donators: (Awesome People)
    FanticSteal $75.00
    smurf_master $58.00 <- Best DayZ Gear Seller
    Fujiyama $25.00
    [MPGH]Black $10.00
    [MPGH]Hova $10.00
    xJudgez $4.54
    [MPGH]Normen's Sheep $3.50
    eminemlover $1.50


    Brony?
    http://www.mpgh.net/forum/groups/1728-mpgh-bronies.html

Similar Threads

  1. [Help] Code For MessageBox [Solved]
    By BlackShawarma in forum C++/C Programming
    Replies: 20
    Last Post: 08-24-2011, 05:40 PM
  2. C++ MessageBox, LPCSTR Issue
    By +NULL in forum C++/C Programming
    Replies: 15
    Last Post: 11-08-2010, 05:05 AM
  3. MessageBox
    By RandomCoders in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 09-24-2010, 07:32 AM
  4. [Tutorial] #4 - Messagebox | Advanced
    By Zoom in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 04-14-2010, 08:47 AM
  5. [HELP] Messagebox help
    By ac1d_buRn in forum C++/C Programming
    Replies: 7
    Last Post: 02-12-2010, 05:59 PM