Skip to content

Commit cc93df2

Browse files
Merge branch 'master' of https://github.com/grodansparadis/vscp
2 parents de7c744 + 99e84ef commit cc93df2

File tree

8 files changed

+491
-491
lines changed

8 files changed

+491
-491
lines changed

contrib/samples/server/ReadMe.txt

Lines changed: 88 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,88 @@
1-
========================================================================
2-
MICROSOFT FOUNDATION CLASS LIBRARY : server
3-
========================================================================
4-
5-
6-
AppWizard has created this server application for you. This application
7-
not only demonstrates the basics of using the Microsoft Foundation classes
8-
but is also a starting point for writing your application.
9-
10-
This file contains a summary of what you will find in each of the files that
11-
make up your server application.
12-
13-
server.dsp
14-
This file (the project file) contains information at the project level and
15-
is used to build a single project or subproject. Other users can share the
16-
project (.dsp) file, but they should export the makefiles locally.
17-
18-
server.h
19-
This is the main header file for the application. It includes other
20-
project specific headers (including Resource.h) and declares the
21-
CServerApp application class.
22-
23-
server.cpp
24-
This is the main application source file that contains the application
25-
class CServerApp.
26-
27-
server.rc
28-
This is a listing of all of the Microsoft Windows resources that the
29-
program uses. It includes the icons, bitmaps, and cursors that are stored
30-
in the RES subdirectory. This file can be directly edited in Microsoft
31-
Visual C++.
32-
33-
server.clw
34-
This file contains information used by ClassWizard to edit existing
35-
classes or add new classes. ClassWizard also uses this file to store
36-
information needed to create and edit message maps and dialog data
37-
maps and to create prototype member functions.
38-
39-
res\server.ico
40-
This is an icon file, which is used as the application's icon. This
41-
icon is included by the main resource file server.rc.
42-
43-
res\server.rc2
44-
This file contains resources that are not edited by Microsoft
45-
Visual C++. You should place all resources not editable by
46-
the resource editor in this file.
47-
48-
49-
50-
51-
/////////////////////////////////////////////////////////////////////////////
52-
53-
AppWizard creates one dialog class:
54-
55-
serverDlg.h, serverDlg.cpp - the dialog
56-
These files contain your CServerDlg class. This class defines
57-
the behavior of your application's main dialog. The dialog's
58-
template is in server.rc, which can be edited in Microsoft
59-
Visual C++.
60-
61-
62-
/////////////////////////////////////////////////////////////////////////////
63-
Other standard files:
64-
65-
StdAfx.h, StdAfx.cpp
66-
These files are used to build a precompiled header (PCH) file
67-
named server.pch and a precompiled types file named StdAfx.obj.
68-
69-
Resource.h
70-
This is the standard header file, which defines new resource IDs.
71-
Microsoft Visual C++ reads and updates this file.
72-
73-
/////////////////////////////////////////////////////////////////////////////
74-
Other notes:
75-
76-
AppWizard uses "TODO:" to indicate parts of the source code you
77-
should add to or customize.
78-
79-
If your application uses MFC in a shared DLL, and your application is
80-
in a language other than the operating system's current language, you
81-
will need to copy the corresponding localized resources MFC42XXX.DLL
82-
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
83-
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
84-
For example, MFC42DEU.DLL contains resources translated to German.) If you
85-
don't do this, some of the UI elements of your application will remain in the
86-
language of the operating system.
87-
88-
/////////////////////////////////////////////////////////////////////////////
1+
========================================================================
2+
MICROSOFT FOUNDATION CLASS LIBRARY : server
3+
========================================================================
4+
5+
6+
AppWizard has created this server application for you. This application
7+
not only demonstrates the basics of using the Microsoft Foundation classes
8+
but is also a starting point for writing your application.
9+
10+
This file contains a summary of what you will find in each of the files that
11+
make up your server application.
12+
13+
server.dsp
14+
This file (the project file) contains information at the project level and
15+
is used to build a single project or subproject. Other users can share the
16+
project (.dsp) file, but they should export the makefiles locally.
17+
18+
server.h
19+
This is the main header file for the application. It includes other
20+
project specific headers (including Resource.h) and declares the
21+
CServerApp application class.
22+
23+
server.cpp
24+
This is the main application source file that contains the application
25+
class CServerApp.
26+
27+
server.rc
28+
This is a listing of all of the Microsoft Windows resources that the
29+
program uses. It includes the icons, bitmaps, and cursors that are stored
30+
in the RES subdirectory. This file can be directly edited in Microsoft
31+
Visual C++.
32+
33+
server.clw
34+
This file contains information used by ClassWizard to edit existing
35+
classes or add new classes. ClassWizard also uses this file to store
36+
information needed to create and edit message maps and dialog data
37+
maps and to create prototype member functions.
38+
39+
res\server.ico
40+
This is an icon file, which is used as the application's icon. This
41+
icon is included by the main resource file server.rc.
42+
43+
res\server.rc2
44+
This file contains resources that are not edited by Microsoft
45+
Visual C++. You should place all resources not editable by
46+
the resource editor in this file.
47+
48+
49+
50+
51+
/////////////////////////////////////////////////////////////////////////////
52+
53+
AppWizard creates one dialog class:
54+
55+
serverDlg.h, serverDlg.cpp - the dialog
56+
These files contain your CServerDlg class. This class defines
57+
the behavior of your application's main dialog. The dialog's
58+
template is in server.rc, which can be edited in Microsoft
59+
Visual C++.
60+
61+
62+
/////////////////////////////////////////////////////////////////////////////
63+
Other standard files:
64+
65+
StdAfx.h, StdAfx.cpp
66+
These files are used to build a precompiled header (PCH) file
67+
named server.pch and a precompiled types file named StdAfx.obj.
68+
69+
Resource.h
70+
This is the standard header file, which defines new resource IDs.
71+
Microsoft Visual C++ reads and updates this file.
72+
73+
/////////////////////////////////////////////////////////////////////////////
74+
Other notes:
75+
76+
AppWizard uses "TODO:" to indicate parts of the source code you
77+
should add to or customize.
78+
79+
If your application uses MFC in a shared DLL, and your application is
80+
in a language other than the operating system's current language, you
81+
will need to copy the corresponding localized resources MFC42XXX.DLL
82+
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
83+
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
84+
For example, MFC42DEU.DLL contains resources translated to German.) If you
85+
don't do this, some of the UI elements of your application will remain in the
86+
language of the operating system.
87+
88+
/////////////////////////////////////////////////////////////////////////////

contrib/samples/server/StdAfx.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// stdafx.cpp : source file that includes just the standard includes
2-
// server.pch will be the pre-compiled header
3-
// stdafx.obj will contain the pre-compiled type information
4-
5-
#include "stdafx.h"
6-
7-
8-
1+
// stdafx.cpp : source file that includes just the standard includes
2+
// server.pch will be the pre-compiled header
3+
// stdafx.obj will contain the pre-compiled type information
4+
5+
#include "stdafx.h"
6+
7+
8+

contrib/samples/server/StdAfx.h

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
// stdafx.h : include file for standard system include files,
2-
// or project specific include files that are used frequently, but
3-
// are changed infrequently
4-
//
5-
6-
#if !defined(AFX_STDAFX_H__CCE9D4DE_99EA_4237_894F_AC630B28FA58__INCLUDED_)
7-
#define AFX_STDAFX_H__CCE9D4DE_99EA_4237_894F_AC630B28FA58__INCLUDED_
8-
9-
#if _MSC_VER > 1000
10-
#pragma once
11-
#endif // _MSC_VER > 1000
12-
13-
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
14-
15-
#include <afxwin.h> // MFC core and standard components
16-
#include <afxext.h> // MFC extensions
17-
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
18-
#ifndef _AFX_NO_AFXCMN_SUPPORT
19-
#include <afxcmn.h> // MFC support for Windows Common Controls
20-
#endif // _AFX_NO_AFXCMN_SUPPORT
21-
22-
#include <afxsock.h> // MFC socket extensions
23-
24-
//{{AFX_INSERT_LOCATION}}
25-
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
26-
27-
#endif // !defined(AFX_STDAFX_H__CCE9D4DE_99EA_4237_894F_AC630B28FA58__INCLUDED_)
1+
// stdafx.h : include file for standard system include files,
2+
// or project specific include files that are used frequently, but
3+
// are changed infrequently
4+
//
5+
6+
#if !defined(AFX_STDAFX_H__CCE9D4DE_99EA_4237_894F_AC630B28FA58__INCLUDED_)
7+
#define AFX_STDAFX_H__CCE9D4DE_99EA_4237_894F_AC630B28FA58__INCLUDED_
8+
9+
#if _MSC_VER > 1000
10+
#pragma once
11+
#endif // _MSC_VER > 1000
12+
13+
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
14+
15+
#include <afxwin.h> // MFC core and standard components
16+
#include <afxext.h> // MFC extensions
17+
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
18+
#ifndef _AFX_NO_AFXCMN_SUPPORT
19+
#include <afxcmn.h> // MFC support for Windows Common Controls
20+
#endif // _AFX_NO_AFXCMN_SUPPORT
21+
22+
#include <afxsock.h> // MFC socket extensions
23+
24+
//{{AFX_INSERT_LOCATION}}
25+
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
26+
27+
#endif // !defined(AFX_STDAFX_H__CCE9D4DE_99EA_4237_894F_AC630B28FA58__INCLUDED_)

contrib/samples/server/resource.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
//{{NO_DEPENDENCIES}}
2-
// Microsoft Developer Studio generated include file.
3-
// Used by server.rc
4-
//
5-
#define IDM_ABOUTBOX 0x0010
6-
#define IDD_ABOUTBOX 100
7-
#define IDS_ABOUTBOX 101
8-
#define IDD_SERVER_DIALOG 102
9-
#define IDP_SOCKETS_INIT_FAILED 103
10-
#define IDR_MAINFRAME 128
11-
#define IDC_LIST1 1000
12-
13-
// Next default values for new objects
14-
//
15-
#ifdef APSTUDIO_INVOKED
16-
#ifndef APSTUDIO_READONLY_SYMBOLS
17-
#define _APS_NEXT_RESOURCE_VALUE 129
18-
#define _APS_NEXT_COMMAND_VALUE 32771
19-
#define _APS_NEXT_CONTROL_VALUE 1001
20-
#define _APS_NEXT_SYMED_VALUE 101
21-
#endif
22-
#endif
1+
//{{NO_DEPENDENCIES}}
2+
// Microsoft Developer Studio generated include file.
3+
// Used by server.rc
4+
//
5+
#define IDM_ABOUTBOX 0x0010
6+
#define IDD_ABOUTBOX 100
7+
#define IDS_ABOUTBOX 101
8+
#define IDD_SERVER_DIALOG 102
9+
#define IDP_SOCKETS_INIT_FAILED 103
10+
#define IDR_MAINFRAME 128
11+
#define IDC_LIST1 1000
12+
13+
// Next default values for new objects
14+
//
15+
#ifdef APSTUDIO_INVOKED
16+
#ifndef APSTUDIO_READONLY_SYMBOLS
17+
#define _APS_NEXT_RESOURCE_VALUE 129
18+
#define _APS_NEXT_COMMAND_VALUE 32771
19+
#define _APS_NEXT_CONTROL_VALUE 1001
20+
#define _APS_NEXT_SYMED_VALUE 101
21+
#endif
22+
#endif

0 commit comments

Comments
 (0)