On Thu, 19 Mar 2009 19:58:13 +0200, Ozkan Sezer <seze...@gmail.com> wrote: > I'm a bit amazed that the prototype for VirtualProtect() is known to the > compiler but the definition of DWORD is not.. In any case, it should be > fixed easily by changing DWORD into unsigned int which is what a > DWORD is always defined as. And PR 39063 is still open anyway. > -- > Ozkan
Yes you are right about the fact VirtualProtect is defined and not DWORD so something is wrong with my includes However you are wrong about DWORD definition it has always be defined like this : typedef unsigned long DWORD, *PDWORD, *LPDWORD; at least windows.