HelpHow would i code c++ for a trainer

Posts 1–3 of 3 · Page 1 of 1
How would i code c++ for a trainer
I have the ufo code and i want to know how would i code it via c++ how would i add the memory class whose would i add please help thank you.
Quote Originally Posted by getsuga121 View Post
I have the ufo code and i want to know how would i code it via c++ how would i add the memory class whose would i add please help thank you.
Code:
#include "stdafx.h"

DWORD WINAPI MainThread(LPVOID lpArgs)
{
WriteProcessMemory(GetCurrentProcess(),(void*)0x0070F979,(PBYTE)"\x6A\x00",2,0);
WriteProcessMemory(GetCurrentProcess(),(void*)0x007653FA,(PBYTE)"\xB8\x44\xEC\x3B\x03\x90",6,0);
return 0;
}

BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
	if(ul_reason_for_call == DLL_PROCESS_ATTACH)
	{
	 DisableThreadLibraryCalls(hModule);
	 HANDLE hThread = CreateThread(NULL, NULL, MainThread, NULL, NULL, NULL);
     CloseHandle(hThread);
   }
	return TRUE;
}
Memory class ?
Thank you i will try after school and i am new to c++

EDIT i get the error about too many symbols
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us