/************************************************************************** THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. Copyright 1997 Microsoft Corporation. All Rights Reserved. **************************************************************************/ /************************************************************************** File: Globals.h **************************************************************************/ /************************************************************************** global variables **************************************************************************/ extern HINSTANCE g_hInst; extern UINT g_DllRefCount; #ifdef _DEBUG #include extern bool DebugPrint(char *sMessage, int iType); extern bool DebugPrint(wchar_t *sMessage, int iType); extern bool DebugInit(); extern bool DebugFinalise(); #endif extern int SysReAllocCString(BSTR &bStr, LPCSTR sNew, UINT iChars); extern BSTR SysAllocCString(LPCSTR sNew, UINT iChars); extern UINT _bstrtowcs(const BSTR sBSTR, wchar_t **sWCS); extern UINT _bstrtocs(const BSTR sBSTR, char **sWCS); extern const char *strndup(const char *_value, size_t size); extern char *stristr(char *haystack, const char *needle); extern const char *stristr(const char *haystack, const char *needle); //#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0])) #define VERSION_MAJOR "1" #define VERSION_MINOR "0" #define VERSION_TYPE "alpha"