When I execute that code on my computer, I get the error, " Reason for failure : No such device or address ". I do not get how to fix this error when I know the address I gave it is valid. Is the error because I don't typecast the address to LPVOID, or is it just my computer? Also, how can I fix it?Code:BYTE bNewData[]={0x90,0x90,0x90,0x90,0x90,0x90,0x90}; DWORD dwNewDataSize = sizeof(bNewData); if (WriteProcessMemory(hProcess, 0x0094f720, &bNewData, dwNewDataSize, NULL) == 0 ) { puts("Failure!"); printf( "Reason for failure : %s\n", strerror( GetLastError() ) ); } else { puts("Success!"); }