Browse Source

Initial commit

Hongtae Kim 7 years ago
commit
6c1819ae65

+ 69
- 0
.gitignore View File

@@ -0,0 +1,69 @@
1
+
2
+## Ignore Visual Studio temporary files, build results, and
3
+## files generated by popular Visual Studio add-ons.
4
+
5
+# User-specific files
6
+*.suo
7
+*.user
8
+*.sln.docstates
9
+
10
+# Visual C++ cache files
11
+ipch/
12
+*.aps
13
+*.ncb
14
+*.opensdf
15
+*.sdf
16
+*.cachefile
17
+
18
+# Visual Studio profiler
19
+*.psess
20
+*.vsp
21
+*.vspx
22
+
23
+# Backup & report files from converting an old project file to a newer
24
+# Visual Studio version. Backup files are not needed, because we have git ;-)
25
+_UpgradeReport_Files/
26
+Backup*/
27
+UpgradeLog*.XML
28
+UpgradeLog*.htm
29
+
30
+# Windows image file caches
31
+Thumbs.db
32
+ehthumbs.db
33
+
34
+# Folder config file
35
+Desktop.ini
36
+
37
+# Recycle Bin used on file shares
38
+$RECYCLE.BIN/
39
+
40
+
41
+# Mac desktop service store files
42
+.DS_Store
43
+
44
+# Xcode
45
+xcuserdata
46
+*.xccheckout
47
+*.moved-aside
48
+*.xcuserstate
49
+
50
+# Python
51
+__pycache__/
52
+
53
+# PyCharm files
54
+.idea/workspace.xml
55
+.idea/dictionaries/
56
+
57
+# Sphinx documentation
58
+docs/_build/
59
+
60
+# project settings
61
+Build/**
62
+
63
+# Visual Studio 2015 and later
64
+*.VC.db
65
+*.VC.opendb
66
+
67
+# separated workspace file inside xcodeproj
68
+**/*.xcodeproj/project.xcworkspace
69
+

+ 28
- 0
DKGL2_Testsln View File

@@ -0,0 +1,28 @@
1
+
2
+Microsoft Visual Studio Solution File, Format Version 12.00
3
+# Visual Studio 14
4
+VisualStudioVersion = 14.0.25420.1
5
+MinimumVisualStudioVersion = 10.0.40219.1
6
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestApp1", "TestApp1\TestApp1.vcxproj", "{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}"
7
+EndProject
8
+Global
9
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+		Debug|x64 = Debug|x64
11
+		Debug|x86 = Debug|x86
12
+		Release|x64 = Release|x64
13
+		Release|x86 = Release|x86
14
+	EndGlobalSection
15
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
16
+		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Debug|x64.ActiveCfg = Debug|x64
17
+		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Debug|x64.Build.0 = Debug|x64
18
+		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Debug|x86.ActiveCfg = Debug|Win32
19
+		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Debug|x86.Build.0 = Debug|Win32
20
+		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Release|x64.ActiveCfg = Release|x64
21
+		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Release|x64.Build.0 = Release|x64
22
+		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Release|x86.ActiveCfg = Release|Win32
23
+		{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}.Release|x86.Build.0 = Release|Win32
24
+	EndGlobalSection
25
+	GlobalSection(SolutionProperties) = preSolution
26
+		HideSolutionNode = FALSE
27
+	EndGlobalSection
28
+EndGlobal

+ 62
- 0
TestApp1/ReadMe.txt View File

@@ -0,0 +1,62 @@
1
+========================================================================
2
+    WIN32 APPLICATION : TestApp1 Project Overview
3
+========================================================================
4
+
5
+AppWizard has created this TestApp1 application for you.
6
+
7
+This file contains a summary of what you will find in each of the files that
8
+make up your TestApp1 application.
9
+
10
+
11
+TestApp1.vcxproj
12
+    This is the main project file for VC++ projects generated using an Application Wizard.
13
+    It contains information about the version of Visual C++ that generated the file, and
14
+    information about the platforms, configurations, and project features selected with the
15
+    Application Wizard.
16
+
17
+TestApp1.vcxproj.filters
18
+    This is the filters file for VC++ projects generated using an Application Wizard. 
19
+    It contains information about the association between the files in your project 
20
+    and the filters. This association is used in the IDE to show grouping of files with
21
+    similar extensions under a specific node (for e.g. ".cpp" files are associated with the
22
+    "Source Files" filter).
23
+
24
+TestApp1.cpp
25
+    This is the main application source file.
26
+
27
+/////////////////////////////////////////////////////////////////////////////
28
+AppWizard has created the following resources:
29
+
30
+TestApp1.rc
31
+    This is a listing of all of the Microsoft Windows resources that the
32
+    program uses.  It includes the icons, bitmaps, and cursors that are stored
33
+    in the RES subdirectory.  This file can be directly edited in Microsoft
34
+    Visual C++.
35
+
36
+Resource.h
37
+    This is the standard header file, which defines new resource IDs.
38
+    Microsoft Visual C++ reads and updates this file.
39
+
40
+TestApp1.ico
41
+    This is an icon file, which is used as the application's icon (32x32).
42
+    This icon is included by the main resource file TestApp1.rc.
43
+
44
+small.ico
45
+    This is an icon file, which contains a smaller version (16x16)
46
+    of the application's icon. This icon is included by the main resource
47
+    file TestApp1.rc.
48
+
49
+/////////////////////////////////////////////////////////////////////////////
50
+Other standard files:
51
+
52
+StdAfx.h, StdAfx.cpp
53
+    These files are used to build a precompiled header (PCH) file
54
+    named TestApp1.pch and a precompiled types file named StdAfx.obj.
55
+
56
+/////////////////////////////////////////////////////////////////////////////
57
+Other notes:
58
+
59
+AppWizard uses "TODO:" comments to indicate parts of the source code you
60
+should add to or customize.
61
+
62
+/////////////////////////////////////////////////////////////////////////////

+ 31
- 0
TestApp1/Resource.h View File

@@ -0,0 +1,31 @@
1
+//{{NO_DEPENDENCIES}}
2
+// Microsoft Visual C++ generated include file.
3
+// Used by TestApp1.rc
4
+//
5
+
6
+#define IDS_APP_TITLE			103
7
+
8
+#define IDR_MAINFRAME			128
9
+#define IDD_TESTAPP1_DIALOG	102
10
+#define IDD_ABOUTBOX			103
11
+#define IDM_ABOUT				104
12
+#define IDM_EXIT				105
13
+#define IDI_TESTAPP1			107
14
+#define IDI_SMALL				108
15
+#define IDC_TESTAPP1			109
16
+#define IDC_MYICON				2
17
+#ifndef IDC_STATIC
18
+#define IDC_STATIC				-1
19
+#endif
20
+// Next default values for new objects
21
+//
22
+#ifdef APSTUDIO_INVOKED
23
+#ifndef APSTUDIO_READONLY_SYMBOLS
24
+
25
+#define _APS_NO_MFC					130
26
+#define _APS_NEXT_RESOURCE_VALUE	129
27
+#define _APS_NEXT_COMMAND_VALUE		32771
28
+#define _APS_NEXT_CONTROL_VALUE		1000
29
+#define _APS_NEXT_SYMED_VALUE		110
30
+#endif
31
+#endif

+ 180
- 0
TestApp1/TestApp1.cpp View File

@@ -0,0 +1,180 @@
1
+// TestApp1.cpp : Defines the entry point for the application.
2
+//
3
+
4
+#include "stdafx.h"
5
+#include "TestApp1.h"
6
+
7
+#define MAX_LOADSTRING 100
8
+
9
+// Global Variables:
10
+HINSTANCE hInst;                                // current instance
11
+WCHAR szTitle[MAX_LOADSTRING];                  // The title bar text
12
+WCHAR szWindowClass[MAX_LOADSTRING];            // the main window class name
13
+
14
+// Forward declarations of functions included in this code module:
15
+ATOM                MyRegisterClass(HINSTANCE hInstance);
16
+BOOL                InitInstance(HINSTANCE, int);
17
+LRESULT CALLBACK    WndProc(HWND, UINT, WPARAM, LPARAM);
18
+INT_PTR CALLBACK    About(HWND, UINT, WPARAM, LPARAM);
19
+
20
+int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
21
+                     _In_opt_ HINSTANCE hPrevInstance,
22
+                     _In_ LPWSTR    lpCmdLine,
23
+                     _In_ int       nCmdShow)
24
+{
25
+    UNREFERENCED_PARAMETER(hPrevInstance);
26
+    UNREFERENCED_PARAMETER(lpCmdLine);
27
+
28
+    // TODO: Place code here.
29
+
30
+    // Initialize global strings
31
+    LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
32
+    LoadStringW(hInstance, IDC_TESTAPP1, szWindowClass, MAX_LOADSTRING);
33
+    MyRegisterClass(hInstance);
34
+
35
+    // Perform application initialization:
36
+    if (!InitInstance (hInstance, nCmdShow))
37
+    {
38
+        return FALSE;
39
+    }
40
+
41
+    HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_TESTAPP1));
42
+
43
+    MSG msg;
44
+
45
+    // Main message loop:
46
+    while (GetMessage(&msg, nullptr, 0, 0))
47
+    {
48
+        if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
49
+        {
50
+            TranslateMessage(&msg);
51
+            DispatchMessage(&msg);
52
+        }
53
+    }
54
+
55
+    return (int) msg.wParam;
56
+}
57
+
58
+
59
+
60
+//
61
+//  FUNCTION: MyRegisterClass()
62
+//
63
+//  PURPOSE: Registers the window class.
64
+//
65
+ATOM MyRegisterClass(HINSTANCE hInstance)
66
+{
67
+    WNDCLASSEXW wcex;
68
+
69
+    wcex.cbSize = sizeof(WNDCLASSEX);
70
+
71
+    wcex.style          = CS_HREDRAW | CS_VREDRAW;
72
+    wcex.lpfnWndProc    = WndProc;
73
+    wcex.cbClsExtra     = 0;
74
+    wcex.cbWndExtra     = 0;
75
+    wcex.hInstance      = hInstance;
76
+    wcex.hIcon          = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_TESTAPP1));
77
+    wcex.hCursor        = LoadCursor(nullptr, IDC_ARROW);
78
+    wcex.hbrBackground  = (HBRUSH)(COLOR_WINDOW+1);
79
+    wcex.lpszMenuName   = MAKEINTRESOURCEW(IDC_TESTAPP1);
80
+    wcex.lpszClassName  = szWindowClass;
81
+    wcex.hIconSm        = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL));
82
+
83
+    return RegisterClassExW(&wcex);
84
+}
85
+
86
+//
87
+//   FUNCTION: InitInstance(HINSTANCE, int)
88
+//
89
+//   PURPOSE: Saves instance handle and creates main window
90
+//
91
+//   COMMENTS:
92
+//
93
+//        In this function, we save the instance handle in a global variable and
94
+//        create and display the main program window.
95
+//
96
+BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
97
+{
98
+   hInst = hInstance; // Store instance handle in our global variable
99
+
100
+   HWND hWnd = CreateWindowW(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
101
+      CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr);
102
+
103
+   if (!hWnd)
104
+   {
105
+      return FALSE;
106
+   }
107
+
108
+   ShowWindow(hWnd, nCmdShow);
109
+   UpdateWindow(hWnd);
110
+
111
+   return TRUE;
112
+}
113
+
114
+//
115
+//  FUNCTION: WndProc(HWND, UINT, WPARAM, LPARAM)
116
+//
117
+//  PURPOSE:  Processes messages for the main window.
118
+//
119
+//  WM_COMMAND  - process the application menu
120
+//  WM_PAINT    - Paint the main window
121
+//  WM_DESTROY  - post a quit message and return
122
+//
123
+//
124
+LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
125
+{
126
+    switch (message)
127
+    {
128
+    case WM_COMMAND:
129
+        {
130
+            int wmId = LOWORD(wParam);
131
+            // Parse the menu selections:
132
+            switch (wmId)
133
+            {
134
+            case IDM_ABOUT:
135
+                DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
136
+                break;
137
+            case IDM_EXIT:
138
+                DestroyWindow(hWnd);
139
+                break;
140
+            default:
141
+                return DefWindowProc(hWnd, message, wParam, lParam);
142
+            }
143
+        }
144
+        break;
145
+    case WM_PAINT:
146
+        {
147
+            PAINTSTRUCT ps;
148
+            HDC hdc = BeginPaint(hWnd, &ps);
149
+            // TODO: Add any drawing code that uses hdc here...
150
+            EndPaint(hWnd, &ps);
151
+        }
152
+        break;
153
+    case WM_DESTROY:
154
+        PostQuitMessage(0);
155
+        break;
156
+    default:
157
+        return DefWindowProc(hWnd, message, wParam, lParam);
158
+    }
159
+    return 0;
160
+}
161
+
162
+// Message handler for about box.
163
+INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
164
+{
165
+    UNREFERENCED_PARAMETER(lParam);
166
+    switch (message)
167
+    {
168
+    case WM_INITDIALOG:
169
+        return (INT_PTR)TRUE;
170
+
171
+    case WM_COMMAND:
172
+        if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL)
173
+        {
174
+            EndDialog(hDlg, LOWORD(wParam));
175
+            return (INT_PTR)TRUE;
176
+        }
177
+        break;
178
+    }
179
+    return (INT_PTR)FALSE;
180
+}

+ 3
- 0
TestApp1/TestApp1.h View File

@@ -0,0 +1,3 @@
1
+#pragma once
2
+
3
+#include "resource.h"

BIN
TestApp1/TestApp1.ico View File


BIN
TestApp1/TestApp1.rc View File


+ 168
- 0
TestApp1/TestApp1.vcxproj View File

@@ -0,0 +1,168 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+    <ProjectConfiguration Include="Debug|x64">
13
+      <Configuration>Debug</Configuration>
14
+      <Platform>x64</Platform>
15
+    </ProjectConfiguration>
16
+    <ProjectConfiguration Include="Release|x64">
17
+      <Configuration>Release</Configuration>
18
+      <Platform>x64</Platform>
19
+    </ProjectConfiguration>
20
+  </ItemGroup>
21
+  <PropertyGroup Label="Globals">
22
+    <ProjectGuid>{AE0AF61D-F069-4AFA-AE24-A75C6A233B37}</ProjectGuid>
23
+    <Keyword>Win32Proj</Keyword>
24
+    <RootNamespace>TestApp1</RootNamespace>
25
+    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
26
+  </PropertyGroup>
27
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29
+    <ConfigurationType>Application</ConfigurationType>
30
+    <UseDebugLibraries>true</UseDebugLibraries>
31
+    <PlatformToolset>v140</PlatformToolset>
32
+    <CharacterSet>Unicode</CharacterSet>
33
+  </PropertyGroup>
34
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
35
+    <ConfigurationType>Application</ConfigurationType>
36
+    <UseDebugLibraries>false</UseDebugLibraries>
37
+    <PlatformToolset>v140</PlatformToolset>
38
+    <WholeProgramOptimization>true</WholeProgramOptimization>
39
+    <CharacterSet>Unicode</CharacterSet>
40
+  </PropertyGroup>
41
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42
+    <ConfigurationType>Application</ConfigurationType>
43
+    <UseDebugLibraries>true</UseDebugLibraries>
44
+    <PlatformToolset>v140</PlatformToolset>
45
+    <CharacterSet>Unicode</CharacterSet>
46
+  </PropertyGroup>
47
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
48
+    <ConfigurationType>Application</ConfigurationType>
49
+    <UseDebugLibraries>false</UseDebugLibraries>
50
+    <PlatformToolset>v140</PlatformToolset>
51
+    <WholeProgramOptimization>true</WholeProgramOptimization>
52
+    <CharacterSet>Unicode</CharacterSet>
53
+  </PropertyGroup>
54
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
55
+  <ImportGroup Label="ExtensionSettings">
56
+  </ImportGroup>
57
+  <ImportGroup Label="Shared">
58
+  </ImportGroup>
59
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
60
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61
+  </ImportGroup>
62
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
63
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64
+  </ImportGroup>
65
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
66
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67
+  </ImportGroup>
68
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
69
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
70
+  </ImportGroup>
71
+  <PropertyGroup Label="UserMacros" />
72
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73
+    <LinkIncremental>true</LinkIncremental>
74
+  </PropertyGroup>
75
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76
+    <LinkIncremental>true</LinkIncremental>
77
+  </PropertyGroup>
78
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79
+    <LinkIncremental>false</LinkIncremental>
80
+  </PropertyGroup>
81
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82
+    <LinkIncremental>false</LinkIncremental>
83
+  </PropertyGroup>
84
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
85
+    <ClCompile>
86
+      <PrecompiledHeader>Use</PrecompiledHeader>
87
+      <WarningLevel>Level3</WarningLevel>
88
+      <Optimization>Disabled</Optimization>
89
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
90
+    </ClCompile>
91
+    <Link>
92
+      <SubSystem>Windows</SubSystem>
93
+      <GenerateDebugInformation>true</GenerateDebugInformation>
94
+    </Link>
95
+  </ItemDefinitionGroup>
96
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
97
+    <ClCompile>
98
+      <PrecompiledHeader>Use</PrecompiledHeader>
99
+      <WarningLevel>Level3</WarningLevel>
100
+      <Optimization>Disabled</Optimization>
101
+      <PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
102
+    </ClCompile>
103
+    <Link>
104
+      <SubSystem>Windows</SubSystem>
105
+      <GenerateDebugInformation>true</GenerateDebugInformation>
106
+    </Link>
107
+  </ItemDefinitionGroup>
108
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
109
+    <ClCompile>
110
+      <WarningLevel>Level3</WarningLevel>
111
+      <PrecompiledHeader>Use</PrecompiledHeader>
112
+      <Optimization>MaxSpeed</Optimization>
113
+      <FunctionLevelLinking>true</FunctionLevelLinking>
114
+      <IntrinsicFunctions>true</IntrinsicFunctions>
115
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
116
+    </ClCompile>
117
+    <Link>
118
+      <SubSystem>Windows</SubSystem>
119
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
120
+      <OptimizeReferences>true</OptimizeReferences>
121
+      <GenerateDebugInformation>true</GenerateDebugInformation>
122
+    </Link>
123
+  </ItemDefinitionGroup>
124
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
125
+    <ClCompile>
126
+      <WarningLevel>Level3</WarningLevel>
127
+      <PrecompiledHeader>Use</PrecompiledHeader>
128
+      <Optimization>MaxSpeed</Optimization>
129
+      <FunctionLevelLinking>true</FunctionLevelLinking>
130
+      <IntrinsicFunctions>true</IntrinsicFunctions>
131
+      <PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
132
+    </ClCompile>
133
+    <Link>
134
+      <SubSystem>Windows</SubSystem>
135
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
136
+      <OptimizeReferences>true</OptimizeReferences>
137
+      <GenerateDebugInformation>true</GenerateDebugInformation>
138
+    </Link>
139
+  </ItemDefinitionGroup>
140
+  <ItemGroup>
141
+    <Text Include="ReadMe.txt" />
142
+  </ItemGroup>
143
+  <ItemGroup>
144
+    <ClInclude Include="Resource.h" />
145
+    <ClInclude Include="stdafx.h" />
146
+    <ClInclude Include="targetver.h" />
147
+    <ClInclude Include="TestApp1.h" />
148
+  </ItemGroup>
149
+  <ItemGroup>
150
+    <ClCompile Include="stdafx.cpp">
151
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
152
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
153
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
154
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
155
+    </ClCompile>
156
+    <ClCompile Include="TestApp1.cpp" />
157
+  </ItemGroup>
158
+  <ItemGroup>
159
+    <ResourceCompile Include="TestApp1.rc" />
160
+  </ItemGroup>
161
+  <ItemGroup>
162
+    <Image Include="small.ico" />
163
+    <Image Include="TestApp1.ico" />
164
+  </ItemGroup>
165
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
166
+  <ImportGroup Label="ExtensionTargets">
167
+  </ImportGroup>
168
+</Project>

+ 55
- 0
TestApp1/TestApp1.vcxproj.filters View File

@@ -0,0 +1,55 @@
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>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+  </ItemGroup>
17
+  <ItemGroup>
18
+    <Text Include="ReadMe.txt" />
19
+  </ItemGroup>
20
+  <ItemGroup>
21
+    <ClInclude Include="stdafx.h">
22
+      <Filter>Header Files</Filter>
23
+    </ClInclude>
24
+    <ClInclude Include="targetver.h">
25
+      <Filter>Header Files</Filter>
26
+    </ClInclude>
27
+    <ClInclude Include="Resource.h">
28
+      <Filter>Header Files</Filter>
29
+    </ClInclude>
30
+    <ClInclude Include="TestApp1.h">
31
+      <Filter>Header Files</Filter>
32
+    </ClInclude>
33
+  </ItemGroup>
34
+  <ItemGroup>
35
+    <ClCompile Include="stdafx.cpp">
36
+      <Filter>Source Files</Filter>
37
+    </ClCompile>
38
+    <ClCompile Include="TestApp1.cpp">
39
+      <Filter>Source Files</Filter>
40
+    </ClCompile>
41
+  </ItemGroup>
42
+  <ItemGroup>
43
+    <ResourceCompile Include="TestApp1.rc">
44
+      <Filter>Resource Files</Filter>
45
+    </ResourceCompile>
46
+  </ItemGroup>
47
+  <ItemGroup>
48
+    <Image Include="small.ico">
49
+      <Filter>Resource Files</Filter>
50
+    </Image>
51
+    <Image Include="TestApp1.ico">
52
+      <Filter>Resource Files</Filter>
53
+    </Image>
54
+  </ItemGroup>
55
+</Project>

BIN
TestApp1/small.ico View File


+ 8
- 0
TestApp1/stdafx.cpp View File

@@ -0,0 +1,8 @@
1
+// stdafx.cpp : source file that includes just the standard includes
2
+// TestApp1.pch will be the pre-compiled header
3
+// stdafx.obj will contain the pre-compiled type information
4
+
5
+#include "stdafx.h"
6
+
7
+// TODO: reference any additional headers you need in STDAFX.H
8
+// and not in this file

+ 21
- 0
TestApp1/stdafx.h View File

@@ -0,0 +1,21 @@
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
+#pragma once
7
+
8
+#include "targetver.h"
9
+
10
+#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
11
+// Windows Header Files:
12
+#include <windows.h>
13
+
14
+// C RunTime Header Files
15
+#include <stdlib.h>
16
+#include <malloc.h>
17
+#include <memory.h>
18
+#include <tchar.h>
19
+
20
+
21
+// TODO: reference additional headers your program requires here

+ 8
- 0
TestApp1/targetver.h View File

@@ -0,0 +1,8 @@
1
+#pragma once
2
+
3
+// Including SDKDDKVer.h defines the highest available Windows platform.
4
+
5
+// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6
+// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7
+
8
+#include <SDKDDKVer.h>