I also called _CrtSetDbgFlag(0); and undef-ed _CRTDBG_MAP_ALLOC (and yes it is in the proper header), yet the first EVER call to free() throws a not-a-heap-manager-memory-block-error and a breakpoint gets called.
thanks

regards,
phe9oxis,
http://www.guidebuddha.com