// stdafx.h : ��׼ϵͳ�����ļ��İ����ļ���
// ���Ǿ���ʹ�õ��������ĵ�
// �ض�����Ŀ�İ����ļ�
//

#pragma once

#include "targetver.h"

#include <stdio.h>
#include <tchar.h>
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // ijЩ CString ���캯��������ʽ��

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN            // �� Windows ͷ���ų�����ʹ�õ�����
#endif

#include <afx.h>
#include <afxwin.h>         // MFC ��������ͱ�׼���
#include <afxext.h>         // MFC ��չ
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h>           // MFC �� Internet Explorer 4 �����ؼ���֧��
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>                     // MFC �� Windows �����ؼ���֧��
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <iostream>



// TODO: �ڴ˴����ó�����Ҫ������ͷ�ļ�

//////////////////////////////////////////////////////////////////////////
// ����;
extern HMODULE g_hlogdll;
extern BOOL LoadLogLibarary();
extern void FreeLogLibarary();

typedef BOOL (*log_Start)(unsigned int port);
typedef void (*log_Stop)();
typedef void (*log_enable)(bool bEnable);
typedef void (*log_Setlogpath)(LPCTSTR lplogpath);
typedef LPCTSTR (*log_Getlogpath)();
typedef double (*log_GetTime)();


extern log_Start g_logStart;
extern log_Stop g_logStop;
extern log_enable g_logEnable;
extern log_Setlogpath g_Setlogpath;
extern log_Getlogpath g_Getlogpath;
extern log_GetTime g_GetTime;