ppl2pass
07-13-2008, 12:45 PM
Can u give me the write float function with virtual protect and other functions too with virtual protect. (ex. writefloatpointer)
thanks
SteeL
07-21-2008, 12:37 AM
void Write_D3Dmem( void* pxAddress, void* pxBuffer )
{
unsigned long Protection;
VirtualProtect((void*)pxAddress, sizeof( pxBuffer ), PAGE_READWRITE, &Protection);
memcpy((void*)pxAddress, (const void*)pxBuffer, sizeof( pxBuffer ));
VirtualProtect((void*)pxAddress, sizeof( pxBuffer ), Protection, 0);
}
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.