PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

System call to trap memory writes

Does anyone know if Windows CE on the Pocket PC has a system call to trap memory writes to specified areas of memory?

My application has an 8k region of memory - whenever the CPU writes to anywhere within this area I want to execute a small block of code.
Protect the pages with virtualprotect and trap the exception that occurs when you write to it?

(Will try to provide a more descriptive answer later if I get time).