//-------------------------------------------------------------- // common user interface routines // // //-------------------------------------------------------------- #ifdef CSC_ON_NT #ifndef DEFINED_UNICODE #define _UNICODE #define UNICODE #define DEFINED_UNICODE #endif #include #include #include #undef ASSERT #else #define STRICT #endif #define NOWINDOWSX #define NOSHELLDEBUG #define DONT_WANT_SHELLDEBUG #define USE_MONIKER #define _INC_OLE // WIN32 #include #include #include #include // for registration functions #include "port32.h" #define NO_COMMCTRL_DA #define NO_COMMCTRL_ALLOCFCNS #define NO_COMMCTRL_STRFCNS // the DebugMsg is here because we want OUR Assert, not their stub. #define DebugMsg 1 ? (void)0 : (void) /* ;Internal */ #include #ifdef CSC_ON_NT #include #endif #include // object binding #include // IContextMenu #include #include #include // for string macros #include // implementation dependent values #include #include // Twin Engine include file #include #ifdef CSC_ON_NT #ifndef DBG #define DBG 0 #endif #if DBG #define DEBUG #else //if we don't do this DEBUG is defined in shdsys.h....sigh #define NONDEBUG #endif #endif //ifdef CSC_ON_NT /* globals */ extern HANDLE vhinstCur; // current instance #include "assert.h" // Dont link - just do it. #pragma intrinsic(memcpy,memcmp,memset,strcpy,strlen,strcmp,strcat)