DLL main

Posts 1–6 of 6 · Page 1 of 1
DLL main
Code:
int MsgBox(char* Message, char* Title)
{
	int ret = MessageBoxA(0,Message, Title, MB_OK);
	return ret;
}

BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
					 )
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
		MsgBox("Have Fun", "BlackLite");
		break;
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
have fun

thats ma one and ma oldest team miss u
Quote Originally Posted by Assassin's Creed View Post
looks like microsoft's
Waht you mean by that.
Quote Originally Posted by Assassin's Creed View Post
that's the one way to use it
theres hundereds of way i think
I will go ahead and try this xD
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us