make sure you contain the x = new in another pair of braces so it goes out of scope b4 you do the _crtDumpxxx call. Might not report as a leak otherwise?
Also...make sure its just not the debugger being weird. if you do OutputDebugString("hello") in ur main project does it show up in the debugger ok?