2025-04-27 07:49:33 -04:00

49 lines
1.1 KiB
C++

// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef _STDAFX_H_
#define _STDAFX_H_
#define STRICT
#include <atlbase.h>
//You may derive a class from CComModule and use it if you want to override
//something, but do not change the name of _Module
class CMonitor;
class CPgCntModule : public CComModule
{
public:
CPgCntModule();
// CComModule methods
void Init( _ATL_OBJMAP_ENTRY*, HINSTANCE );
void Term();
LONG Lock();
LONG Unlock();
// CPgCntModule methods
CMonitor* Monitor();
private:
CComAutoCriticalSection m_cs;
CMonitor* m_pMonitor;
};
extern CPgCntModule _Module;
#include <atlcom.h>
#include <mtx.h>
#include <algorithm>
using namespace std;
#include "myvector.h"
#include "MyString.h"
#include "strmap.h"
#include "mydebug.h"
#define ARRAYSIZE(a) (sizeof(a)/sizeof(*(a)))
#endif // !_STDAFX_H_