Results 1 to 4 of 4
  1. #1
    ShoopdaWhoop's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    26
    Reputation
    13
    Thanks
    1
    My Mood
    Blah

    Box Message when injecting?

    At the moment I currently have a message box that opens when the guy starts running on Combat Arms which isn't very convenient.. I leeched the source code from someone on here :P

    How can i get it to appear on injection?

  2. #2
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,103
    Reputation
    16
    Thanks
    646
    My Mood
    Cold
    Put it in dllmain....

    The If (dwReason = processattach)
    blah blah (do you stuff here)

    (pseudocode)

  3. The Following User Says Thank You to Mr.Magicman For This Useful Post:

    _-Blazin-_ (07-23-2010)

  4. #3
    ~Liberty~'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    255
    Reputation
    6
    Thanks
    200
    My Mood
    Cool
    This is how it should look.

    [php]BOOL APIENTRY DllMain( HMODULE hModule,
    DWORD ul_reason_for_call,
    LPVOID lpReserved
    )
    {
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
    MessageBox (0, TEXT("Some text\n"), TEXT("Your Name"), MB_ICONINFORMATION);
    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MyHack, 0, 0, 0);
    break;
    case DLL_PROCESS_DETACH:
    break;
    }
    return true;
    }[/php]

    ~Liberty~ Last Menu

    Yes, I am Ostisgood. Still same Msn: Ostisgoodformpgh@hotmail.no

  5. #4
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,561
    Reputation
    127
    Thanks
    5,912
    My Mood
    Happy
    Question has been answered.
    /Closed
    -Rest in peace leechers-

    Your PM box is 100% full.

Similar Threads

  1. Crashing on the loading screen when injecting a hack?
    By Lhemgo135 in forum Combat Arms Help
    Replies: 3
    Last Post: 07-27-2010, 04:19 AM
  2. Error when injecting wakkas pub
    By lilmarv03 in forum Combat Arms Help
    Replies: 4
    Last Post: 07-22-2010, 09:03 AM
  3. Strange message when I open MPGH
    By PIGHUNTER in forum General
    Replies: 3
    Last Post: 12-05-2009, 01:21 PM
  4. BSOD when inject a hack
    By ac1d_buRn in forum Combat Arms Help
    Replies: 2
    Last Post: 10-01-2009, 08:49 PM
  5. error message when trying to load hack
    By jon33 in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 11-07-2008, 01:11 AM