WriteProcessMemory API call and the windows header file.
wht kind of functions i need to use to add farfog and nearfog addyes??
writelong?
writepoinetrfloat???
i hope u'll anserw..
WriteProcessMemory API call and the windows header file.
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
#include <windows.h>
WriteProcessMemory(hProcess, (*LPVOID)0xADDRESS, Value, nSize,NULL);
nSize can be multiple things:
1 Byte
2 2bytes
4 Long
8 Float/double
ok,i call #include <windows.h>
than write void Farfog()
{
jgytrgfg();
WriteProcessMemory(asdgae, (LPVOID*) (0xb2a848), 0, 4,NULL);
}
But doesn't work.
i put the call of the function (dll function) in button and also(to try) in timer but nothing.!
Where i'm wrong?(if write(*LPVOID) i get error)
oilu (05-26-2008)
I have no idea what the fuck those do, I assume jgytrgfg(); is calling some sort of function(Which?), and asdgae is your Handle, correct?Code:#include <windows.h> void Farfog() { jgytrgfg(); int Write = 0; WriteProcessMemory(asdgae, (LPVOID*) (0xb2a848), &Write, 4,NULL); }
Changes I made that should work. But may not because I have no idea what those red highlights are..
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
Jeta/Jeremy , we should make some c++ guide
Why are you naming it that way, its c++ not vb6
Just use normal names, it won't be detected, everything is translated into pointers to addresses.
Farfog and nearfog are float values.
if you put 0 or 0.0f in farfog you have glasswall...
0 (long) and 0.0f (float) are the same (4 bytes all zero)
Why are you naming it that way, its c++ not vb6
Just use normal names, it won't be detected, everything is translated into pointers to addresses.
Farfog and nearfog are float values.
if you put 0 or 0.0f in farfog you have glasswall...
0 (long) and 0.0f (float) are the same (4 bytes all zero)