Skip to content

Commit 103a955

Browse files
committed
init project
1 parent 3c3518d commit 103a955

25 files changed

Lines changed: 1174 additions & 0 deletions
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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}") = "BarcodeRecogTest", "BarcodeRecogTest\BarcodeRecogTest.vcxproj", "{32613442-27FC-4546-B5F4-91C8865213C4}"
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+
{32613442-27FC-4546-B5F4-91C8865213C4}.Debug|x64.ActiveCfg = Debug|x64
17+
{32613442-27FC-4546-B5F4-91C8865213C4}.Debug|x64.Build.0 = Debug|x64
18+
{32613442-27FC-4546-B5F4-91C8865213C4}.Debug|x86.ActiveCfg = Debug|Win32
19+
{32613442-27FC-4546-B5F4-91C8865213C4}.Debug|x86.Build.0 = Debug|Win32
20+
{32613442-27FC-4546-B5F4-91C8865213C4}.Release|x64.ActiveCfg = Release|x64
21+
{32613442-27FC-4546-B5F4-91C8865213C4}.Release|x64.Build.0 = Release|x64
22+
{32613442-27FC-4546-B5F4-91C8865213C4}.Release|x86.ActiveCfg = Release|Win32
23+
{32613442-27FC-4546-B5F4-91C8865213C4}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal
89.6 KB
Binary file not shown.
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
2+
// BarcodeRecogTest.cpp : Defines the class behaviors for the application.
3+
//
4+
5+
#include "stdafx.h"
6+
#include "BarcodeRecogTest.h"
7+
#include "BarcodeRecogTestDlg.h"
8+
9+
#ifdef _DEBUG
10+
#define new DEBUG_NEW
11+
#endif
12+
13+
14+
// CBarcodeRecogTestApp
15+
16+
BEGIN_MESSAGE_MAP(CBarcodeRecogTestApp, CWinApp)
17+
ON_COMMAND(ID_HELP, &CWinApp::OnHelp)
18+
END_MESSAGE_MAP()
19+
20+
21+
// CBarcodeRecogTestApp construction
22+
23+
CBarcodeRecogTestApp::CBarcodeRecogTestApp()
24+
{
25+
// support Restart Manager
26+
m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART;
27+
28+
// TODO: add construction code here,
29+
// Place all significant initialization in InitInstance
30+
}
31+
32+
33+
// The one and only CBarcodeRecogTestApp object
34+
35+
CBarcodeRecogTestApp theApp;
36+
37+
38+
// CBarcodeRecogTestApp initialization
39+
40+
BOOL CBarcodeRecogTestApp::InitInstance()
41+
{
42+
// InitCommonControlsEx() is required on Windows XP if an application
43+
// manifest specifies use of ComCtl32.dll version 6 or later to enable
44+
// visual styles. Otherwise, any window creation will fail.
45+
INITCOMMONCONTROLSEX InitCtrls;
46+
InitCtrls.dwSize = sizeof(InitCtrls);
47+
// Set this to include all the common control classes you want to use
48+
// in your application.
49+
InitCtrls.dwICC = ICC_WIN95_CLASSES;
50+
InitCommonControlsEx(&InitCtrls);
51+
52+
CWinApp::InitInstance();
53+
54+
55+
AfxEnableControlContainer();
56+
57+
// Create the shell manager, in case the dialog contains
58+
// any shell tree view or shell list view controls.
59+
CShellManager *pShellManager = new CShellManager;
60+
61+
// Activate "Windows Native" visual manager for enabling themes in MFC controls
62+
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));
63+
64+
// Standard initialization
65+
// If you are not using these features and wish to reduce the size
66+
// of your final executable, you should remove from the following
67+
// the specific initialization routines you do not need
68+
// Change the registry key under which our settings are stored
69+
// TODO: You should modify this string to be something appropriate
70+
// such as the name of your company or organization
71+
SetRegistryKey(_T("Local AppWizard-Generated Applications"));
72+
73+
CBarcodeRecogTestDlg dlg;
74+
m_pMainWnd = &dlg;
75+
INT_PTR nResponse = dlg.DoModal();
76+
if (nResponse == IDOK)
77+
{
78+
// TODO: Place code here to handle when the dialog is
79+
// dismissed with OK
80+
}
81+
else if (nResponse == IDCANCEL)
82+
{
83+
// TODO: Place code here to handle when the dialog is
84+
// dismissed with Cancel
85+
}
86+
else if (nResponse == -1)
87+
{
88+
TRACE(traceAppMsg, 0, "Warning: dialog creation failed, so application is terminating unexpectedly.\n");
89+
TRACE(traceAppMsg, 0, "Warning: if you are using MFC controls on the dialog, you cannot #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS.\n");
90+
}
91+
92+
// Delete the shell manager created above.
93+
if (pShellManager != NULL)
94+
{
95+
delete pShellManager;
96+
}
97+
98+
// Since the dialog has been closed, return FALSE so that we exit the
99+
// application, rather than start the application's message pump.
100+
return FALSE;
101+
}
102+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
// BarcodeRecogTest.h : main header file for the PROJECT_NAME application
3+
//
4+
5+
#pragma once
6+
7+
#ifndef __AFXWIN_H__
8+
#error "include 'stdafx.h' before including this file for PCH"
9+
#endif
10+
11+
#include "resource.h" // main symbols
12+
13+
14+
// CBarcodeRecogTestApp:
15+
// See BarcodeRecogTest.cpp for the implementation of this class
16+
//
17+
18+
class CBarcodeRecogTestApp : public CWinApp
19+
{
20+
public:
21+
CBarcodeRecogTestApp();
22+
23+
// Overrides
24+
public:
25+
virtual BOOL InitInstance();
26+
27+
// Implementation
28+
29+
DECLARE_MESSAGE_MAP()
30+
};
31+
32+
extern CBarcodeRecogTestApp theApp;
10.5 KB
Binary file not shown.
Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
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>{32613442-27FC-4546-B5F4-91C8865213C4}</ProjectGuid>
23+
<RootNamespace>BarcodeRecogTest</RootNamespace>
24+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
25+
<Keyword>MFCProj</Keyword>
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+
<UseOfMfc>Dynamic</UseOfMfc>
34+
</PropertyGroup>
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
36+
<ConfigurationType>Application</ConfigurationType>
37+
<UseDebugLibraries>false</UseDebugLibraries>
38+
<PlatformToolset>v140</PlatformToolset>
39+
<WholeProgramOptimization>true</WholeProgramOptimization>
40+
<CharacterSet>Unicode</CharacterSet>
41+
<UseOfMfc>Dynamic</UseOfMfc>
42+
</PropertyGroup>
43+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
44+
<ConfigurationType>Application</ConfigurationType>
45+
<UseDebugLibraries>true</UseDebugLibraries>
46+
<PlatformToolset>v140</PlatformToolset>
47+
<CharacterSet>Unicode</CharacterSet>
48+
<UseOfMfc>Dynamic</UseOfMfc>
49+
</PropertyGroup>
50+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
51+
<ConfigurationType>Application</ConfigurationType>
52+
<UseDebugLibraries>false</UseDebugLibraries>
53+
<PlatformToolset>v140</PlatformToolset>
54+
<WholeProgramOptimization>true</WholeProgramOptimization>
55+
<CharacterSet>Unicode</CharacterSet>
56+
<UseOfMfc>Dynamic</UseOfMfc>
57+
</PropertyGroup>
58+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
59+
<ImportGroup Label="ExtensionSettings">
60+
</ImportGroup>
61+
<ImportGroup Label="Shared">
62+
</ImportGroup>
63+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65+
</ImportGroup>
66+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68+
</ImportGroup>
69+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
70+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71+
</ImportGroup>
72+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
73+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
74+
</ImportGroup>
75+
<PropertyGroup Label="UserMacros" />
76+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
77+
<LinkIncremental>true</LinkIncremental>
78+
</PropertyGroup>
79+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
80+
<LinkIncremental>true</LinkIncremental>
81+
</PropertyGroup>
82+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
83+
<LinkIncremental>false</LinkIncremental>
84+
</PropertyGroup>
85+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
86+
<LinkIncremental>false</LinkIncremental>
87+
</PropertyGroup>
88+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
89+
<ClCompile>
90+
<PrecompiledHeader>Use</PrecompiledHeader>
91+
<WarningLevel>Level3</WarningLevel>
92+
<Optimization>Disabled</Optimization>
93+
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94+
<SDLCheck>true</SDLCheck>
95+
</ClCompile>
96+
<Link>
97+
<SubSystem>Windows</SubSystem>
98+
<GenerateDebugInformation>true</GenerateDebugInformation>
99+
</Link>
100+
<Midl>
101+
<MkTypLibCompatible>false</MkTypLibCompatible>
102+
<ValidateAllParameters>true</ValidateAllParameters>
103+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104+
</Midl>
105+
<ResourceCompile>
106+
<Culture>0x0409</Culture>
107+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108+
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
109+
</ResourceCompile>
110+
</ItemDefinitionGroup>
111+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
112+
<ClCompile>
113+
<PrecompiledHeader>Use</PrecompiledHeader>
114+
<WarningLevel>Level3</WarningLevel>
115+
<Optimization>Disabled</Optimization>
116+
<PreprocessorDefinitions>_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
117+
<SDLCheck>true</SDLCheck>
118+
</ClCompile>
119+
<Link>
120+
<SubSystem>Windows</SubSystem>
121+
<GenerateDebugInformation>true</GenerateDebugInformation>
122+
</Link>
123+
<Midl>
124+
<MkTypLibCompatible>false</MkTypLibCompatible>
125+
<ValidateAllParameters>true</ValidateAllParameters>
126+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
127+
</Midl>
128+
<ResourceCompile>
129+
<Culture>0x0409</Culture>
130+
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131+
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
132+
</ResourceCompile>
133+
</ItemDefinitionGroup>
134+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
135+
<ClCompile>
136+
<WarningLevel>Level3</WarningLevel>
137+
<PrecompiledHeader>Use</PrecompiledHeader>
138+
<Optimization>MaxSpeed</Optimization>
139+
<FunctionLevelLinking>true</FunctionLevelLinking>
140+
<IntrinsicFunctions>true</IntrinsicFunctions>
141+
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
142+
<SDLCheck>true</SDLCheck>
143+
</ClCompile>
144+
<Link>
145+
<SubSystem>Windows</SubSystem>
146+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
147+
<OptimizeReferences>true</OptimizeReferences>
148+
<GenerateDebugInformation>true</GenerateDebugInformation>
149+
</Link>
150+
<Midl>
151+
<MkTypLibCompatible>false</MkTypLibCompatible>
152+
<ValidateAllParameters>true</ValidateAllParameters>
153+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
154+
</Midl>
155+
<ResourceCompile>
156+
<Culture>0x0409</Culture>
157+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
158+
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
159+
</ResourceCompile>
160+
</ItemDefinitionGroup>
161+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
162+
<ClCompile>
163+
<WarningLevel>Level3</WarningLevel>
164+
<PrecompiledHeader>Use</PrecompiledHeader>
165+
<Optimization>MaxSpeed</Optimization>
166+
<FunctionLevelLinking>true</FunctionLevelLinking>
167+
<IntrinsicFunctions>true</IntrinsicFunctions>
168+
<PreprocessorDefinitions>_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
169+
<SDLCheck>true</SDLCheck>
170+
</ClCompile>
171+
<Link>
172+
<SubSystem>Windows</SubSystem>
173+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
174+
<OptimizeReferences>true</OptimizeReferences>
175+
<GenerateDebugInformation>true</GenerateDebugInformation>
176+
</Link>
177+
<Midl>
178+
<MkTypLibCompatible>false</MkTypLibCompatible>
179+
<ValidateAllParameters>true</ValidateAllParameters>
180+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
181+
</Midl>
182+
<ResourceCompile>
183+
<Culture>0x0409</Culture>
184+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
185+
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
186+
</ResourceCompile>
187+
</ItemDefinitionGroup>
188+
<ItemGroup>
189+
<Text Include="ReadMe.txt" />
190+
</ItemGroup>
191+
<ItemGroup>
192+
<ClInclude Include="BarcodeRecogTest.h" />
193+
<ClInclude Include="BarcodeRecogTestDlg.h" />
194+
<ClInclude Include="Resource.h" />
195+
<ClInclude Include="stdafx.h" />
196+
<ClInclude Include="targetver.h" />
197+
</ItemGroup>
198+
<ItemGroup>
199+
<ClCompile Include="BarcodeRecogTest.cpp" />
200+
<ClCompile Include="BarcodeRecogTestDlg.cpp" />
201+
<ClCompile Include="stdafx.cpp">
202+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
203+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
204+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
205+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
206+
</ClCompile>
207+
</ItemGroup>
208+
<ItemGroup>
209+
<ResourceCompile Include="BarcodeRecogTest.rc" />
210+
</ItemGroup>
211+
<ItemGroup>
212+
<None Include="res\BarcodeRecogTest.rc2" />
213+
</ItemGroup>
214+
<ItemGroup>
215+
<Image Include="res\BarcodeRecogTest.ico" />
216+
</ItemGroup>
217+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
218+
<ImportGroup Label="ExtensionTargets">
219+
</ImportGroup>
220+
</Project>

0 commit comments

Comments
 (0)