1 | stdafx.h file |
---|
2 | |
---|
3 | // stdafx.h : include file for standard system include files, |
---|
4 | // or project specific include files that are used frequently, but |
---|
5 | // are changed infrequently |
---|
6 | // |
---|
7 | |
---|
8 | #if !defined(AFX_STDAFX_H__A3BAD4AD_F5AE_11D1_8FE9_6CD504C1BC01__INCLUDED_) |
---|
9 | #define AFX_STDAFX_H__A3BAD4AD_F5AE_11D1_8FE9_6CD504C1BC01__INCLUDED_ |
---|
10 | |
---|
11 | #if _MSC_VER >= 1000 |
---|
12 | #pragma once |
---|
13 | #endif // _MSC_VER >= 1000 |
---|
14 | |
---|
15 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers |
---|
16 | |
---|
17 | |
---|
18 | #define _WIN32_WINNT 0x0400 |
---|
19 | |
---|
20 | #include <afxwin.h> // MFC core and standard components |
---|
21 | #include <afxext.h> // MFC extensions |
---|
22 | #include <afxdisp.h> // MFC OLE automation classes |
---|
23 | #ifndef _AFX_NO_AFXCMN_SUPPORT |
---|
24 | #include <afxcmn.h> // MFC support for Windows Common Controls |
---|
25 | #endif // _AFX_NO_AFXCMN_SUPPORT |
---|
26 | |
---|
27 | #include <afxsock.h> // MFC socket extensions |
---|
28 | |
---|
29 | |
---|
30 | //declaration files for ATL base classes |
---|
31 | #include <atlbase.h> |
---|
32 | //external linkage for CComModule |
---|
33 | extern CComModule _Module; |
---|
34 | //ActiveX Template Library include |
---|
35 | #include <atlcom.h> |
---|
36 | |
---|
37 | //{{AFX_INSERT_LOCATION}} |
---|
38 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line. |
---|
39 | |
---|
40 | #endif // !defined(AFX_STDAFX_H__A3BAD4AD_F5AE_11D1_8FE9_6CD504C1BC01__INCLUDED_) |
---|
41 | |
---|
42 | // stdafx.cpp : source file that includes just the standard includes |
---|
43 | // Modbucfg.pch will be the pre-compiled header |
---|
44 | // stdafx.obj will contain the pre-compiled type information |
---|
45 | |
---|
46 | #include "stdafx.h" |
---|
47 | #include <atlimpl.cpp> |
---|
48 | |
---|
49 | |
---|
50 | XXXApp.cpp file |
---|
51 | |
---|
52 | CComModule _Module; |
---|
53 | |
---|
54 | |
---|
55 | |
---|
56 | add files to project |
---|
57 | |
---|
58 | AutoModbus.cpp |
---|
59 | modbus.cpp |
---|
60 | OleSafeArray.cpp |
---|
61 | Performancecouter.cpp |
---|
62 | crc16.cpp |
---|
63 | |
---|
64 | |
---|