home *** CD-ROM | disk | FTP | other *** search
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
-
- #include <windows.h>
- #include <windowsx.h>
- #include <tchar.h>
- #include <stdio.h>
- #include <direct.h>
- #include <commctrl.h>
- #include <ole2.h>
- #include <olectl.h>
-
- //
- // macros for using try/catch vs. __try/__except
- //
-
- #ifdef _TRY
- #undef _TRY
- #endif
-
- #ifdef _CATCH
- #undef _CATCH
- #endif
-
- #ifdef USE_WIN32_EXCEPTIONS
- #define _TRY __try
- #define _CATCH __except(EXCEPTION_EXECUTE_HANDLER)
- #else
- #define _TRY try
- #define _CATCH catch(...)
- #endif
-
-