1 // stdafx.cpp : source file that includes just the standard includes
2 // ssphys.pch will be the pre-compiled header
3 // stdafx.obj will contain the pre-compiled type information
7 // TODO: reference any additional headers you need in STDAFX.H
8 // and not in this file
15 #pragma warning (disable:4073) // get rid of warning for putting initializers in library initialization area
18 struct crt_mem_leak_checker
22 DBG_FLAGS
= _CRTDBG_ALLOC_MEM_DF
| _CRTDBG_CHECK_ALWAYS_DF
25 crt_mem_leak_checker()
27 _CrtSetDbgFlag(DBG_FLAGS
);
30 ~crt_mem_leak_checker()
32 if (_CrtDumpMemoryLeaks())
34 // ::MessageBeep(MB_ICONHAND);
40 #pragma warning (default:4073)