1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- // stdafx.h : 标准系统包含文件的包含文件,
- // 或是经常使用但不常更改的
- // 特定于项目的包含文件
- //
- #pragma once
- #include "targetver.h"
- #include <stdio.h>
- #include <tchar.h>
- #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 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;
|