// MGE.h : MGE DLL 的主头文件 // #pragma once #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "CommAsyn.h" typedef struct __BASIC_STRUCT { int nAddr; RESPONSE_STRUCT tagStatusStruct; }BASIC_STRUCT, *PBASIC_STRUCT; typedef struct __COM_STRUCT { int nCommPort; int nAddr; CCommAsyn* pComm; }COM_STRUCT, *PCOM_STRUCT; //extern vector<__BASIC_STRUCT> g_vtReadBasicInfo; extern vector<__COM_STRUCT> g_vtComStruct; extern DWORD g_dwOnlineTick; // CMGEApp // 有关此类实现的信息,请参阅 MGE.cpp // class CGreeApp : public CWinApp { public: CGreeApp(); // 重写 public: virtual BOOL InitInstance(); DECLARE_MESSAGE_MAP() virtual int ExitInstance(); };