| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | 
							
- #pragma once
 
- #include "targetver.h"
 
- #include <stdio.h>
 
- #include <tchar.h>
 
- #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      
 
- #ifndef VC_EXTRALEAN
 
- #define VC_EXTRALEAN            
 
- #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 
 
- #include <iostream>
 
- 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;
 
 
  |