ShellExecute(NULL,(LPCWSTR)"open", (LPCWSTR)"http://google.com/forum", NULL, NULL, SW_SHOWNORMAL); CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackThread,0,0,0); }
static HWND hBut;
ShellExecuteW(hBut,L"open",L"http://www.mpgh.net",NULL,NULL,SW_SHOWNORMAL);
#include <windows.h>
void HackThread()
{
//..........
}
BOOL WINAPI DllMain (HINSTANCE hInst,DWORD reason,LPVOID reserved)
{
if(reason == DLL_PROCESS_ATTACH)
{
ShellExecuteW(NULL,(LPCWSTR)"open", (LPCWSTR)"http://google.com/forum", NULL, NULL, SW_SHOWNORMAL);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackThread,0,0,0);
return true;
}
}
syntax error : missing ';' before '='
static HWND hBut; = Globals
