Cara ta dando um erro na parte final do meu hack e eu não consigo resolver D:
me ajuda plz
[php] BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved);
{ //aki está o problema
switch (ul_reason_for_call);
{
case DLL_PROCESS_ATTACH:
ShellExecute;
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
} [/php]
Resultado:
[php]1>------ Build started: Project: My frirst hack, Configuration: Debug Win32 ------
1> My frirst hack.cpp
1>c:\documents and settings\user\meus documentos\hacking\my frirst hack\my frirst hack\my frirst hack.cpp(1): warning C4627: '#include <process.h>': skipped when looking for precompiled header use
1> Add directive to 'StdAfx.h' or rebuild precompiled header
1>c:\documents and settings\user\meus documentos\hacking\my frirst hack\my frirst hack\my frirst hack.cpp(66): error C2447: '{' : missing function header (old-style formal list?)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[/php]
Ajuda plz ^^