I am getting this exception: Unhandled exception: page fault on read access to 0x7ffe02d8 in 32-bit code (0x51102a96). and I found this in winternal.h: #if (_WIN32_WINNT >= 0x0501) #define INTERNAL_TS_ACTIVE_CONSOLE_ID ( *((volatile ULONG*)(0x7ffe02d8)) ) #endif /* (_WIN32_WINNT >= 0x0501) */ Should something be allocating memory for this?