All pastes #433741 Raw Edit

Something

public cpp v1 · immutable
·published 2007-04-11 00:23 UTC
rendered paste body
DWORD WINAPI newThread() {	while(GetModuleHandle("RendDX9.dll") == NULL)	{		Sleep(500);	}        return 0;}void APIENTRY DllMain(HMODULE hModule, DWORD fwReason, PVOID pvReserved){	if(fwReason == DLL_PROCESS_ATTACH)	{				HANDLE hThread = NULL;		DWORD dwThreadId = NULL;		if(!hThread)		{			hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)newThread, 0, 0, &dwThreadId); 															}			}	}