HelpDllMain Not work

Posts 1–15 of 19 · Page 1 of 2
DllMain Not work
my dllmain not work , no effect , no msg , no thread
i create new project and test it , work , after i put some stuff , d3d menu and other , it doesn't work ..
Any help in that ..
Sry for bad english
Show us your DllMain!
Without Screen oder Source nobody can help you!
what a source dll main which it created when u create a project , hans menu , nothing wrongas.i think !!!
Show us the DllMain!
Show us!
No "Tutorial" to find your DllMain!
Post Here or make ScreenShot
Code:
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
					 )
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
		{
		MessageBoxA(0, "Working !...", "Success", 0);
		}
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
hmmm, try this:

Code:
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
    if(fdwReason == 1)
    {
        DisableThreadLibraryCalls(hinstDLL);
        MessageBoxA(0, "Working...!", "Sucess",0);
    }
    return true;
}
Quote Originally Posted by CFHackerExtreme View Post
hmmm, try this:

Code:
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
    if(fdwReason == 1)
    {
        DisableThreadLibraryCalls(hinstDLL);
        MessageBoxA(0, "Working...!", "Sucess",0);
    }
    return true;
}
man u didn't understand me , my dll main works well when i create a empty dll , after i added my stuff , it doesn't work , i can't understand that...
Quote Originally Posted by DarkPladin View Post
man u didn't understand me , my dll main works well when i create a empty dll , after i added my stuff , it doesn't work , i can't understand that...
So the title is wrong... The DllMain is good, creating a new thread is wrong...


---------- Post added at 09:11 PM ---------- Previous post was at 09:09 PM ----------

Quote Originally Posted by kmanev073 View Post
well they were checking the certificate ?
DllMain should't be the problem... My BootsTrap, even the managed Dll working fine...

But actually, there is a small hole in Xcrap..
There is a small delay when CrossFire window show up, you can do anything with Cf for a short time (just a few second, or less)

Also, external trainers are possible too, if you use it with brain.exe
(i used one )
1. It is not your DLLMain
2. Delete this :

case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;

and it should work
Quote Originally Posted by CoderCf View Post
1. It is not your DLLMain
2. Delete this :

case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;

and it should work
noob , what u mean with "it's not my dllmain" , it's the default dll main in any project......

Quote Originally Posted by kjbmarr View Post
@CoderCf first, that wouldn't change anything at all to the programs function. second, he also mentioned his dllmain works.

And @DarkPladin, maybe because your hack is the one that has errors
what kind of errors can cause that !!!!!!!!!! I can't understand
@CoderCf first, that wouldn't change anything at all to the programs function. second, he also mentioned his dllmain works.

And @DarkPladin, maybe because your hack is the one that has errors
how many times someone has to say that it is not the DllMain !?! DllMain is the entry point of the stupid DLL it has nothing in it that can be detected ! Everything depends on your hook !
Quote Originally Posted by kmanev073 View Post
how many times someone has to say that it is not the DllMain !?! DllMain is the entry point of the stupid DLL it has nothing in it that can be detected ! Everything depends on your hook !
It is XD. If can't be detected why a dll with only DLL Main was giving XCrap ?
Quote Originally Posted by bandi12 View Post
It is XD. If can't be detected why a dll with only DLL Main was giving XCrap ?
well they were checking the certificate ?
Code:
BOOL WINAPI DllMain(HINSTANCE Hdll, DWORD Reacao,LPVOID lpReserved)
{
    if ( Reacao == TRUE )
    {
        DisableThreadLibraryCalls(Hdll);
       MessageBoxA( 0, " [CFNA] By: ForeverRed  " , "Credits", 0 );
		_beginthreadex(NULL, NULL, NameVoidFunctions, NULL, NULL, NULL);
    }
    return TRUE;
}
Posts 1–15 of 19 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us