Skip to content

Commit 1caa326

Browse files
committed
1 parent ec119a2 commit 1caa326

File tree

9 files changed

+331
-0
lines changed

9 files changed

+331
-0
lines changed

mfc_detect/StdAfx.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// source file that includes just the standard includes
2+
// vldmfc.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+

mfc_detect/StdAfx.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// 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__9884638E_0AE1_42F8_BFF0_840BD090BD42__INCLUDED_)
7+
#define AFX_STDAFX_H__9884638E_0AE1_42F8_BFF0_840BD090BD42__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+
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__9884638E_0AE1_42F8_BFF0_840BD090BD42__INCLUDED_)

mfc_detect/res/vldmfc.ico

66.2 KB
Binary file not shown.

mfc_detect/res/vldmfc.rc2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// VLDMFC.RC2 - resources Microsoft Visual C++ does not edit directly
3+
//
4+
5+
#ifdef APSTUDIO_INVOKED
6+
#error this file is not editable by Microsoft Visual C++
7+
#endif //APSTUDIO_INVOKED
8+
9+
10+
/////////////////////////////////////////////////////////////////////////////
11+
// Add manually edited resources here...
12+
13+
/////////////////////////////////////////////////////////////////////////////

mfc_detect/resource.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//{{NO_DEPENDENCIES}}
2+
// Microsoft Visual C++ generated include file.
3+
// Used by vldmfc.rc
4+
//
5+
#define IDM_ABOUTBOX 0x0010
6+
#define IDS_ABOUTBOX 101
7+
#define IDR_MAINFRAME 128
8+
9+
// Next default values for new objects
10+
//
11+
#ifdef APSTUDIO_INVOKED
12+
#ifndef APSTUDIO_READONLY_SYMBOLS
13+
#define _APS_NEXT_RESOURCE_VALUE 129
14+
#define _APS_NEXT_COMMAND_VALUE 32771
15+
#define _APS_NEXT_CONTROL_VALUE 1003
16+
#define _APS_NEXT_SYMED_VALUE 101
17+
#endif
18+
#endif

mfc_detect/vldmfc.h

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#if !defined(AFX_VLDMFC_H__9B6C7B98_B322_4E4F_9969_823D500649E9__INCLUDED_)
2+
#define AFX_VLDMFC_H__9B6C7B98_B322_4E4F_9969_823D500649E9__INCLUDED_
3+
4+
#if _MSC_VER > 1000
5+
#pragma once
6+
#endif // _MSC_VER > 1000
7+
8+
#ifndef __AFXWIN_H__
9+
#error include 'stdafx.h' before including this file for PCH
10+
#endif
11+
12+
#include "resource.h" // main symbols
13+
14+
/////////////////////////////////////////////////////////////////////////////
15+
// CMFCExampleApp:
16+
// See vldmfc.cpp for the implementation of this class
17+
//
18+
19+
class CMFCExampleApp : public CWinApp
20+
{
21+
public:
22+
CMFCExampleApp();
23+
24+
// Overrides
25+
// ClassWizard generated virtual function overrides
26+
//{{AFX_VIRTUAL(CMFCExampleApp)
27+
public:
28+
virtual BOOL InitInstance();
29+
//}}AFX_VIRTUAL
30+
31+
// Implementation
32+
33+
//{{AFX_MSG(CMFCExampleApp)
34+
// NOTE - the ClassWizard will add and remove member functions here.
35+
// DO NOT EDIT what you see in these blocks of generated code !
36+
//}}AFX_MSG
37+
DECLARE_MESSAGE_MAP()
38+
};
39+
40+
41+
/////////////////////////////////////////////////////////////////////////////
42+
43+
//{{AFX_INSERT_LOCATION}}
44+
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
45+
46+
#endif // !defined(AFX_VLDMFC_H__9B6C7B98_B322_4E4F_9969_823D500649E9__INCLUDED_)

mfc_detect/vldmfc.rc

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
// Microsoft Visual C++ generated resource script.
2+
//
3+
#include "resource.h"
4+
5+
#define APSTUDIO_READONLY_SYMBOLS
6+
/////////////////////////////////////////////////////////////////////////////
7+
//
8+
// Generated from the TEXTINCLUDE 2 resource.
9+
//
10+
#include "afxres.h"
11+
12+
/////////////////////////////////////////////////////////////////////////////
13+
#undef APSTUDIO_READONLY_SYMBOLS
14+
15+
/////////////////////////////////////////////////////////////////////////////
16+
// English (United States) resources
17+
18+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19+
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
20+
#pragma code_page(1252)
21+
22+
#ifdef APSTUDIO_INVOKED
23+
/////////////////////////////////////////////////////////////////////////////
24+
//
25+
// TEXTINCLUDE
26+
//
27+
28+
1 TEXTINCLUDE
29+
BEGIN
30+
"resource.h\0"
31+
END
32+
33+
2 TEXTINCLUDE
34+
BEGIN
35+
"#include ""afxres.h""\r\n"
36+
"\0"
37+
END
38+
39+
3 TEXTINCLUDE
40+
BEGIN
41+
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
42+
"#define _AFX_NO_OLE_RESOURCES\r\n"
43+
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
44+
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
45+
"\r\n"
46+
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
47+
"#ifdef _WIN32\r\n"
48+
"LANGUAGE 9, 1\r\n"
49+
"#pragma code_page(1252)\r\n"
50+
"#endif //_WIN32\r\n"
51+
"#include ""res\\vldmfc.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
52+
"#include ""afxres.rc"" // Standard components\r\n"
53+
"#endif\r\n"
54+
"\0"
55+
END
56+
57+
#endif // APSTUDIO_INVOKED
58+
59+
60+
/////////////////////////////////////////////////////////////////////////////
61+
//
62+
// Icon
63+
//
64+
65+
// Icon with lowest ID value placed first to ensure application icon
66+
// remains consistent on all systems.
67+
IDR_MAINFRAME ICON "res\\vldmfc.ico"
68+
69+
/////////////////////////////////////////////////////////////////////////////
70+
//
71+
// Version
72+
//
73+
74+
VS_VERSION_INFO VERSIONINFO
75+
FILEVERSION 1,0,1,1
76+
PRODUCTVERSION 1,0,1,1
77+
FILEFLAGSMASK 0x3fL
78+
#ifdef _DEBUG
79+
FILEFLAGS 0x1L
80+
#else
81+
FILEFLAGS 0x0L
82+
#endif
83+
FILEOS 0x4L
84+
FILETYPE 0x1L
85+
FILESUBTYPE 0x0L
86+
BEGIN
87+
BLOCK "StringFileInfo"
88+
BEGIN
89+
BLOCK "040904b0"
90+
BEGIN
91+
VALUE "Comments", "This software is copyright (c) 2005 Dan Moulding and is distributed under the terms of the GNU Lesser Public License"
92+
VALUE "FileDescription", "Visual Leak Detector MFC Example"
93+
VALUE "FileVersion", "1, 0, 1, 1"
94+
VALUE "InternalName", "vldmfc"
95+
VALUE "LegalCopyright", "Copyright (C) 2005"
96+
VALUE "OriginalFilename", "vldmfc.exe"
97+
VALUE "ProductName", "Visual Leak Detector MFC Example"
98+
VALUE "ProductVersion", "1, 0, 1, 1"
99+
END
100+
END
101+
BLOCK "VarFileInfo"
102+
BEGIN
103+
VALUE "Translation", 0x409, 1200
104+
END
105+
END
106+
107+
108+
/////////////////////////////////////////////////////////////////////////////
109+
//
110+
// String Table
111+
//
112+
113+
STRINGTABLE
114+
BEGIN
115+
IDS_ABOUTBOX "&About Visual Leak Detector MFC Example..."
116+
END
117+
118+
#endif // English (United States) resources
119+
/////////////////////////////////////////////////////////////////////////////
120+
121+
122+
123+
#ifndef APSTUDIO_INVOKED
124+
/////////////////////////////////////////////////////////////////////////////
125+
//
126+
// Generated from the TEXTINCLUDE 3 resource.
127+
//
128+
#define _AFX_NO_SPLITTER_RESOURCES
129+
#define _AFX_NO_OLE_RESOURCES
130+
#define _AFX_NO_TRACKER_RESOURCES
131+
#define _AFX_NO_PROPERTY_RESOURCES
132+
133+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
134+
#ifdef _WIN32
135+
LANGUAGE 9, 1
136+
#pragma code_page(1252)
137+
#endif //_WIN32
138+
#include "res\vldmfc.rc2" // non-Microsoft Visual C++ edited resources
139+
#include "afxres.rc" // Standard components
140+
#endif
141+
142+
/////////////////////////////////////////////////////////////////////////////
143+
#endif // not APSTUDIO_INVOKED
144+

mfc_detect/vldmfc_detect.sln

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 10.00
3+
# Visual Studio 2008
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vldmfc_detect", "vldmfc_detect.vcproj", "{A231973E-072A-428E-982E-5363ADD1CDE2}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug (Unicode)|Win32 = Debug (Unicode)|Win32
9+
Debug (Unicode)|x64 = Debug (Unicode)|x64
10+
Debug|Win32 = Debug|Win32
11+
Debug|x64 = Debug|x64
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{A231973E-072A-428E-982E-5363ADD1CDE2}.Debug (Unicode)|Win32.ActiveCfg = Debug (Unicode)|Win32
15+
{A231973E-072A-428E-982E-5363ADD1CDE2}.Debug (Unicode)|Win32.Build.0 = Debug (Unicode)|Win32
16+
{A231973E-072A-428E-982E-5363ADD1CDE2}.Debug (Unicode)|x64.ActiveCfg = Release|x64
17+
{A231973E-072A-428E-982E-5363ADD1CDE2}.Debug (Unicode)|x64.Build.0 = Release|x64
18+
{A231973E-072A-428E-982E-5363ADD1CDE2}.Debug|Win32.ActiveCfg = Debug|Win32
19+
{A231973E-072A-428E-982E-5363ADD1CDE2}.Debug|Win32.Build.0 = Debug|Win32
20+
{A231973E-072A-428E-982E-5363ADD1CDE2}.Debug|x64.ActiveCfg = Debug|x64
21+
{A231973E-072A-428E-982E-5363ADD1CDE2}.Debug|x64.Build.0 = Debug|x64
22+
EndGlobalSection
23+
GlobalSection(SolutionProperties) = preSolution
24+
HideSolutionNode = FALSE
25+
EndGlobalSection
26+
EndGlobal
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{ee1a072e-69ee-4e6d-b044-911ae029bbeb}</UniqueIdentifier>
6+
<Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{ab9a8a11-b14d-470f-a7c5-88b379d3e731}</UniqueIdentifier>
10+
<Extensions>h;hpp;hxx;hm;inl</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{65ba1fde-89d1-4036-9a69-3cfddfdc7de5}</UniqueIdentifier>
14+
<Extensions>ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
15+
</Filter>
16+
</ItemGroup>
17+
<ItemGroup>
18+
<ClCompile Include="StdAfx.cpp">
19+
<Filter>Source Files</Filter>
20+
</ClCompile>
21+
<ClCompile Include="vldmfc.cpp">
22+
<Filter>Source Files</Filter>
23+
</ClCompile>
24+
</ItemGroup>
25+
<ItemGroup>
26+
<ResourceCompile Include="vldmfc.rc">
27+
<Filter>Source Files</Filter>
28+
</ResourceCompile>
29+
</ItemGroup>
30+
<ItemGroup>
31+
<ClInclude Include="Resource.h">
32+
<Filter>Header Files</Filter>
33+
</ClInclude>
34+
<ClInclude Include="StdAfx.h">
35+
<Filter>Header Files</Filter>
36+
</ClInclude>
37+
<ClInclude Include="vldmfc.h">
38+
<Filter>Header Files</Filter>
39+
</ClInclude>
40+
</ItemGroup>
41+
<ItemGroup>
42+
<None Include="res\vldmfc.ico">
43+
<Filter>Resource Files</Filter>
44+
</None>
45+
<None Include="res\vldmfc.rc2">
46+
<Filter>Resource Files</Filter>
47+
</None>
48+
</ItemGroup>
49+
</Project>

0 commit comments

Comments
 (0)