ReadProcessMemory slowing my prog
Hi everyone,
I finally completed my memory scanner with some help, the scan work but it take a lot of time.
The part that is slowing the prog :
I finally completed my memory scanner with some help, the scan work but it take a lot of time.
The part that is slowing the prog :
Code:
for (currentAddress = lpAddress ; currentAddress < ((lpAddress + dwSize))-sizeof(value);currentAddress++)
{
if (ReadProcessMemory(phandle,(void*)currentAddress,&value,sizeof(value),0) != 0)
{
if (value == searchfor)
{
printf(" 0x%08X", currentAddress);
tableau[found]=currentAddress;
if (found < (MAXADDR-1))
found++;
}
}
}