You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
725 B
C++

#include "StdAfx.h"
#include "SuperDogMgr.h"
#include "LogMgr.h"
#include "FileMgr.h"
#include "GlobalFunction.h"
#include "MsgBox.h"
#ifdef __USE_SUPER_DOG__
#pragma comment( lib, "KernelMode.lib")
CKernelMode gKernelMode;
#endif
CSuperDogMgr *gSuperDogMgr = new CSuperDogMgr;
CSuperDogMgr::CSuperDogMgr(void)
{
}
CSuperDogMgr::~CSuperDogMgr(void)
{
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬
bool CSuperDogMgr::CheckState()
{
#ifdef __USE_SUPER_DOG__
int code = gKernelMode.CheckState();
if(code>0)
{
CString s;
s.Format(_T("<EFBFBD>ʹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5>Ӧ<EFBFBD><D3A6> (code :53000%d)"),code);
CMsgBox MsgBox;
MsgBox.Show(s);
return false;
}
#endif
return true;
}