|
#pragma once
#include "GUIDs.h"
class CProSysLibModule : public CAtlDllModuleT< CProSysLibModule >
{
public:
CProSysLibModule();
~CProSysLibModule();
void SetResourceInstance(HINSTANCE hInstance);
HINSTANCE GetResourceInstance();
static void InitLibId() throw();
DECLARE_REGISTRY_APPID_RESOURCEID(IDR_PROSYSLIB, PSL_AppID)
void OnModuleStart();
void OnModuleTerminate();
bool IsWin2000();
bool InitWinSockets();
private:
CRITICAL_SECTION m_cs;
bool m_bWinSockets; // Indicates whether WinSockets are being used;
bool m_bWin2000; // Indicates whether the current OS is Windows 2000;
// If so, then variant types VT_I8 and VT_UI8 are not supported;
HINSTANCE m_hResInstance;
};
extern class CProSysLibModule _Module;
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.