WinAPI C/C++?
Are you asking for an injector or a DLL?
just a quick question,
what's the difference between { long} and { *(long*) } i don't get it.
ok, i am not understanding ur advanced vocab lol
Hell_Demon (10-28-2010)
i never used it in programming so i never leeched, take a deep breath and chill out. I was merely asking the difference, is it illegal to learn on these forums?
thanks deathnote guy! lol
it's all good, there have been many leechers lately but that's not the way i roll, lol
Mel is the goddess of this section, please have respect for her!
Ah we-a blaze the fyah, make it bun dem!
Thanks dude but still its not working :/
When I press 8 or 2 nothing happens besides the messagebox :S
My code:
[html]
#include <Windows.h>
#include <Stdio.h>
void Main_Thread()
{
while(1){
Sleep(100);
// Add score
if(GetAsyncKeyState(VK_NUMPAD8))
{
MessageBoxA(NULL, "You Pressed 8", "Succesfull", MB_OK);
*(unsigned long*)0x035661D4 += 1000;
}
//Subract score
if(GetAsyncKeyState(VK_NUMPAD2))
{
MessageBoxA(NULL, "You Pressed 2", "Succesfull", MB_OK);
*(unsigned long*)0x035661D4 -= 1000;
}
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(NULL, "Injected!", "Succesfull", MB_SETFOREGROUND);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main_Thread, NULL, NULL, NULL);
}
return TRUE;
}[/html]
Im using normal MHS which I never used before so im going to try with cheat engine maybe i got the wrong address though it shouldnt be the case.
You thing there is a problem in my code?
Ps: Its in C++ and I dont need any injector but tnx alot I made one