hello i'm training to do the nub on a DLL i include the header windows.h and every thing but still gives compiler error "invalid conversion from `int' to `void*".
Can you do a byte nob in DLL? thas my question.
it dosen't let me.
lol. jetamay, u make hax too?
hello i'm training to do the nub on a DLL i include the header windows.h and every thing but still gives compiler error "invalid conversion from `int' to `void*".
Can you do a byte nob in DLL? thas my question.
it dosen't let me.
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?
I'm using VC6, the (void*) i did put but still nothing take a LOOK here is the
code:
whene i try to do a array type byte still gives errorvoid Unlammo()
{
OpenMemory();
WriteProcessMemory(pontermandataren,(LPVOID*)(void *)0x51EEF6, 0x90, 3, NULL);
WriteProcessMemory(pontermandataren,(LPVOID*)(void *)0x51EF07, 0x90, 3, NULL);
WriteProcessMemory(pontermandataren,(LPVOID*)(void *)0x51EF0D, 0x90, 3, NULL);
}
code:
the errors are :void Unlammo()
{
byte nop[] = {0x90};
OpenMemory();
WriteProcessMemory(pontermandataren,(LPVOID*)(void *)0x51EEF6, &nop, 3, NULL);
WriteProcessMemory(pontermandataren,(LPVOID*)(void *)0x51EF07, &nop, 3, NULL);
WriteProcessMemory(pontermandataren,(LPVOID*)(void *)0x51EF0D, &nop, 3, NULL);
}
'byte' : undeclared identifier
'nop' : undeclared identifier
case sensitive..
change "byte" to "BYTE"
oilu (06-05-2008)
WOW man i thought that i did that Thanks A Lot it did work GRRRR byte lol
Call the function byCode://Write To Memory DWORD OldProtection; void WriteToMemory(DWORD Offset, DWORD Pointer, DWORD Length){ VirtualProtect((void *)Offset, Length, PAGE_EXECUTE_READWRITE, &OldProtection); RtlMoveMemory((void *)Offset, (const void*)Pointer, Length); VirtualProtect((void *)Offset, Length, OldProtection, &OldProtection); } //------------------------------ //Modify Memory void ModifyMemory( BYTE *Offset, BYTE *ByteArray, DWORD Length){ for(DWORD i = 0; i < Length; i++) WriteToMemory((DWORD)Offset + i, (DWORD)ByteArray + i, 1); }
So it looks like thisCode:ModifyMemory((BYTE*)[Address],[Bytes to write with], [amount of bytes]);
Code:#define Address1 0xFFFFFF //Address BYTE AddressBytes[] = {0x90,0x90,0x90};//3 Byte NOP ModifyMemory((BYTE*)Address1,AddressBytes,3); //Call Function