Re: VirtualProtect



VirtualProtect changes the access protection on a region of committed pages
in the virtual address space of the calling process. Since your process is
(probably) not the kernel, it fails. What are you trying to do, a virus...?

--

Luca Calligaris
www.eurotech.it

"cod" <cod@xxxxxxxxx> ha scritto nel messaggio
news:69legbF32kj5pU1@xxxxxxxxxxxxxxxxxxxxx
Hi,

I'm trying to change the attribute into kernel address using
VirtualProtect, but the API return the value 87 (invalid parameters) when
I invoke with an address kernel.

It's a protection system? If yes, how can bypass it?

thank you

cod


.