SolvedAjude erro

Posts 17 of 7 · Page 1 of 1
Ajude erro
olá queria pedir a ajuda de vocês nesse problema.
1>Linking...
1>LINK : fatal error LNK1561: entry point must be defined
1>Build log was saved at "file://c:\Users\Administrador\Documents\Visual Studio 2008\Projects\ugh\ugh\Debug\BuildLog.htm"
1>ugh - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

desculpe encomodar

Code:
#include "stdafx.h"

DWORD WINAPI Hook(LPVOID lpArgs);

BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
{
	DisableThreadLibraryCalls(hModule);
	if(dwReason == DLL_PROCESS_ATTACH) {
		system("start http:mpgh.me");
		Sleep(500);
		MessageBox(0, "teste", "teste", MB_OK);
		CreateThread(NULL, NULL, &Hook, NULL, NULL, NULL);
	}

	return TRUE;
}
pra que uma dllmain desse tamanho sendo que vc pode fazer uma bem menor e 100% funcional

essa que eu uso no meus hacks

Code:
bool __stdcall DllMain( HMODULE MyModule, DWORD MyReason, LPVOID lpReserved )
{
	if ( MyReason == 1 )
	{
		CreateThread( 0, 0,&Hook 0, 0, 0 );
	}
	return true;
}
Code:
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if(dwReason == DLL_PROCESS_ATTACH) {
		MessageBox(0, "Seu Texto", "Titulo", MB_OK);
		CreateThread(NULL, NULL,(LPTHREAD_START_ROUTINE)dwD3D9Thread, NULL, NULL, NULL);
	}
	return TRUE;
}
amigos quando ponho o de vcs aparece 10 erros.
luiz ou fail se puder tv
286 690 800
6284
kkkk aparece 10 erros por q n pode dar ctrl c + ctrl v, precisa ageitar isso na sua base
Posts 17 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?