Adding _NO_DEBUG_HEAP=1 to prevent windows debug heaps breaks all sockets api's

To be able to get decent performance on windows in debug builds you need to specify _NO_DEBUG_HEAP=1

Doing so with RemedyBG breaks a bunch of windows api's.
Sockets, Performance queries, and COM registries are the ones i found before giving up.

Edited by Jim Kjellin on Reason: Initial post
May I ask if the same thing happens if you check "Inherit from parent" in the environment settings?

Thanks.

--
George