Thread: Dll Main input

Results 1 to 7 of 7
  1. #1
    badboy3's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Seattle , Washington, USA
    Posts
    839
    Reputation
    40
    Thanks
    88
    My Mood
    Tired

    Dll Main input

    Can someone help......can you show me how to make a DllMain input.....I need help

    I'm allmost done with my noreload hack the only problem is the DllMain input

    My DllMain input
    Code:
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    	DisableThreadLibraryCalls(hDll);
    	char msg[10] = {unic[5],unic[0],unic[6],unic[5],unic[4],unic[1],unic[3],unic[1],unic[2]};
    		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
    	return true;
    }
    Last edited by badboy3; 12-29-2011 at 12:21 AM.

  2. #2
    DaRk's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    MPGH
    Posts
    1,910
    Reputation
    119
    Thanks
    3,986
    My Mood
    Asleep
    lol just google it

  3. #3
    badboy3's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Seattle , Washington, USA
    Posts
    839
    Reputation
    40
    Thanks
    88
    My Mood
    Tired
    Quote Originally Posted by errol641 View Post
    lol just google it
    can you help?

  4. #4
    Assassin's Creed's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    1,210
    Reputation
    54
    Thanks
    1,408
    My Mood
    Worried
    Quote Originally Posted by badboy3 View Post
    can you help?
    Look in Brimir's TuT and u will find it out I think it should be something like this:
    Code:
    DWORD WINAPI Wait(LPVOID)
    {
    while(!Ready2Hook()) Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
    }
    return 1;
    }
     

    Contributer Since 20/2/2012
    MPGH Member Since December 2011

     





     

    offical thread> Assassin V15<

    To all People who thinks am a leecher,hate me,are jelly from me....
    Refer to this thread...
    https://www.mpgh.net/forum/232-crossf...stop-hate.html

  5. #5
    badboy3's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Seattle , Washington, USA
    Posts
    839
    Reputation
    40
    Thanks
    88
    My Mood
    Tired
    Quote Originally Posted by Assassin's Creed View Post

    Look in Brimir's TuT and u will find it out I think it should be something like this:
    Code:
    DWORD WINAPI Wait(LPVOID)
    {
    while(!Ready2Hook()) Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }
    
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
    }
    return 1;
    }

    Thanks.....

  6. #6
    oicaradeboi's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    54
    Reputation
    10
    Thanks
    2
    Looks like Swiftdude

  7. #7
    Assassin's Creed's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    1,210
    Reputation
    54
    Thanks
    1,408
    My Mood
    Worried
    Quote Originally Posted by oicaradeboi View Post
    Looks like Swiftdude
    because it is..
     

    Contributer Since 20/2/2012
    MPGH Member Since December 2011

     





     

    offical thread> Assassin V15<

    To all People who thinks am a leecher,hate me,are jelly from me....
    Refer to this thread...
    https://www.mpgh.net/forum/232-crossf...stop-hate.html

Similar Threads

  1. dll main?
    By JusCaus in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 2
    Last Post: 09-26-2011, 03:56 PM
  2. need help with dll main
    By steffen123456789 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 08-13-2011, 11:51 AM
  3. .dll injector
    By EleMentX in forum Gunz General
    Replies: 31
    Last Post: 07-08-2010, 10:44 AM
  4. Dave Fix My Main Account
    By Clark1 in forum Suggestions, Requests & General Help
    Replies: 1
    Last Post: 12-17-2006, 06:53 PM
  5. DLL injection Failled
    By aynal in forum WarRock - International Hacks
    Replies: 1
    Last Post: 01-15-2006, 09:41 PM