Skip to content

Commit 9aae59e

Browse files
committed
cpp-builder: Rename project and application
- Add an application icon
1 parent fb65120 commit 9aae59e

8 files changed

Lines changed: 21 additions & 18 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Win64x/
66

77
# Delphi compiler-generated binaries (safe to delete)
88
*.exe
9+
*.exe.*
910
*.dll
1011
*.bpl
1112
*.bpi
@@ -59,6 +60,7 @@ __recovery/
5960
# Program Database file that stores debugging symbols
6061
*.pdb
6162

63+
6264
# Precompiled headers
6365
*.pch
6466

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<ProjectGuid>{78325D59-9C55-4DF5-9E88-7E84FAB72DB5}</ProjectGuid>
44
<ProjectVersion>20.3</ProjectVersion>
55
<FrameworkType>VCL</FrameworkType>
6-
<MainSource>ReportTemplate.cpp</MainSource>
6+
<MainSource>StoreReportInDB.cpp</MainSource>
77
<AppType>Application</AppType>
88
<Base>True</Base>
99
<Config Condition="'$(Config)'==''">Debug</Config>
1010
<Platform Condition="'$(Platform)'==''">Win64x</Platform>
11-
<ProjectName Condition="'$(ProjectName)'==''">ReportTemplate</ProjectName>
11+
<ProjectName Condition="'$(ProjectName)'==''">StoreReportInDB</ProjectName>
1212
<TargetedPlatforms>1048579</TargetedPlatforms>
1313
</PropertyGroup>
1414
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
@@ -94,7 +94,7 @@
9494
<UWP_CppLogo44>$(BDS)\bin\Artwork\Windows\UWP\cppreg_UwpDefault_44.png</UWP_CppLogo44>
9595
<UWP_CppLogo150>$(BDS)\bin\Artwork\Windows\UWP\cppreg_UwpDefault_150.png</UWP_CppLogo150>
9696
<VerInfo_Locale>1033</VerInfo_Locale>
97-
<SanitizedProjectName>ReportTemplate</SanitizedProjectName>
97+
<SanitizedProjectName>StoreReportInDB</SanitizedProjectName>
9898
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
9999
</PropertyGroup>
100100
<PropertyGroup Condition="'$(Base_Win32)'!=''">
@@ -104,7 +104,7 @@
104104
<BT_BuildType>Debug</BT_BuildType>
105105
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
106106
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
107-
<BCC_PCHName_Clang>ReportTemplatePCH1.h</BCC_PCHName_Clang>
107+
<BCC_PCHName_Clang>StoreReportInDBPCH1.h</BCC_PCHName_Clang>
108108
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
109109
</PropertyGroup>
110110
<PropertyGroup Condition="'$(Base_Win64)'!=''">
@@ -114,7 +114,7 @@
114114
<BT_BuildType>Debug</BT_BuildType>
115115
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
116116
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
117-
<BCC_PCHName_Clang>ReportTemplatePCH1.h</BCC_PCHName_Clang>
117+
<BCC_PCHName_Clang>StoreReportInDBPCH1.h</BCC_PCHName_Clang>
118118
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
119119
</PropertyGroup>
120120
<PropertyGroup Condition="'$(Base_Win64x)'!=''">
@@ -124,7 +124,7 @@
124124
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
125125
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
126126
<BCC_EnableBatchCompilation>true</BCC_EnableBatchCompilation>
127-
<BCC_PCHName_Clang>ReportTemplatePCH1.h</BCC_PCHName_Clang>
127+
<BCC_PCHName_Clang>StoreReportInDBPCH1.h</BCC_PCHName_Clang>
128128
<PostBuildEvent><![CDATA[copy /Y "$(BDS)\Redist\win64\WebView2Loader.dll" $(OUTPUTDIR)
129129
$(PostBuildEvent)]]></PostBuildEvent>
130130
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
@@ -166,7 +166,7 @@ $(PostBuildEvent)]]></PostBuildEvent>
166166
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
167167
<LinkPackageImports>rtl.bpi;vcl.bpi;dbrtl.bpi;FireDAC.bpi;FireDACCommonDriver.bpi;FireDACCommon.bpi;xmlrtl.bpi;vclFireDAC.bpi;vcldb.bpi;vclwinx.bpi;vclimg.bpi;bindengine.bpi;vclx.bpi;dbexpress.bpi;DbxCommonDriver.bpi;vclie.bpi;vcledge.bpi;FireDACMSAccDriver.bpi;FireDACCommonODBC.bpi;dxCoreRS37.bpi;cxLibraryRS37.bpi;dxGDIPlusRS37.bpi;dxmdsRS37.bpi;dxSkinsCoreRS37.bpi;dxBackendRS37.bpi;dxPSCoreRS37.bpi;dxComnRS37.bpi;dxPSdxPDFViewerLnkRS37.bpi;dxPDFViewerRS37.bpi;cxGridRS37.bpi;cxExportRS37.bpi;dxSpreadSheetCoreRS37.bpi;dxSpreadSheetRS37.bpi;dxServerModeRS37.bpi;dxReportsRS37.bpi</LinkPackageImports>
168168
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
169-
<VerInfo_Locale>1033</VerInfo_Locale>
169+
<Icon_MainIcon>StoreReportInDB_Icon.ico</Icon_MainIcon>
170170
</PropertyGroup>
171171
<PropertyGroup Condition="'$(Cfg_2)'!=''">
172172
<Defines>NDEBUG;$(Defines)</Defines>
@@ -183,13 +183,13 @@ $(PostBuildEvent)]]></PostBuildEvent>
183183
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
184184
</PropertyGroup>
185185
<ItemGroup>
186-
<CppCompile Include="ReportTemplate.cpp">
186+
<CppCompile Include="StoreReportInDB.cpp">
187187
<BuildOrder>0</BuildOrder>
188188
</CppCompile>
189-
<CppCompile Include="ReportTemplate.dxSettings.cpp">
189+
<CppCompile Include="StoreReportInDB.dxSettings.cpp">
190190
<BuildOrder>4</BuildOrder>
191191
</CppCompile>
192-
<PCHCompile Include="ReportTemplatePCH1.h">
192+
<PCHCompile Include="StoreReportInDBPCH1.h">
193193
<BuildOrder>1</BuildOrder>
194194
<PCH>true</PCH>
195195
</PCHCompile>
@@ -230,7 +230,7 @@ $(PostBuildEvent)]]></PostBuildEvent>
230230
<ProjectProperties Name="IndexFiles">False</ProjectProperties>
231231
</ProjectProperties>
232232
<Source>
233-
<Source Name="MainSource">ReportTemplate.cpp</Source>
233+
<Source Name="MainSource">StoreReportInDB.cpp</Source>
234234
</Source>
235235
<Excluded_Packages>
236236
<Excluded_Packages Name="$(BDSBIN)\bcboffice2k370.bpl">Embarcadero C++Builder Office 2000 Servers Package</Excluded_Packages>
@@ -320,15 +320,15 @@ $(PostBuildEvent)]]></PostBuildEvent>
320320
<Overwrite>true</Overwrite>
321321
</Platform>
322322
</DeployFile>
323-
<DeployFile LocalName=".\Win64x\Debug\ReportTemplate.exe" Configuration="Debug" Class="ProjectOutput">
323+
<DeployFile LocalName=".\Win64x\Debug\StoreReportInDB.exe" Configuration="Debug" Class="ProjectOutput">
324324
<Platform Name="Win64x">
325-
<RemoteName>ReportTemplate.exe</RemoteName>
325+
<RemoteName>StoreReportInDB.exe</RemoteName>
326326
<Overwrite>true</Overwrite>
327327
</Platform>
328328
</DeployFile>
329-
<DeployFile LocalName=".\Win64x\Debug\ReportTemplate.pdb" Configuration="Debug" Class="DebugSymbols">
329+
<DeployFile LocalName=".\Win64x\Debug\StoreReportInDB.pdb" Configuration="Debug" Class="DebugSymbols">
330330
<Platform Name="Win64x">
331-
<RemoteName>ReportTemplate.pdb</RemoteName>
331+
<RemoteName>StoreReportInDB.pdb</RemoteName>
332332
<Overwrite>true</Overwrite>
333333
</Platform>
334334
</DeployFile>
@@ -1307,7 +1307,7 @@ $(PostBuildEvent)]]></PostBuildEvent>
13071307
<PreBuildEventIgnoreExitCode>False</PreBuildEventIgnoreExitCode>
13081308
<PreLinkEvent/>
13091309
<PreLinkEventIgnoreExitCode>False</PreLinkEventIgnoreExitCode>
1310-
<PostBuildEvent><![CDATA[copy /Y "$(BDS)\Redist\win32\WebView2Loader.dll" $(OUTPUTDIR)]]></PostBuildEvent>
1310+
<PostBuildEvent>copy /Y &quot;$(BDS)\Redist\win32\WebView2Loader.dll&quot; $(OUTPUTDIR)</PostBuildEvent>
13111311
<PostBuildEventIgnoreExitCode>False</PostBuildEventIgnoreExitCode>
13121312
</PropertyGroup>
13131313
<PropertyGroup Condition="'$(Config)'=='Debug' And '$(Platform)'=='Win64x'">
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
1313
{
1414
Application->Initialize();
1515
Application->MainFormOnTaskBar = true;
16+
Application->Title = "DevExpress Example: Store Report in a Database";
1617
Application->CreateForm(__classid(TMainForm), &MainForm);
1718
Application->CreateForm(__classid(TDataModule1), &DataModule1);
1819
Application->Run();

CPB/StoreReportInDB_Icon.ico

26 KB
Binary file not shown.

CPB/uMainForm.dfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ object MainForm: TMainForm
22
Left = 0
33
Top = 0
44
AutoSize = True
5-
Caption = 'MainForm'
5+
Caption = 'DevExpress Example: Store Report in DB'
66
ClientHeight = 313
77
ClientWidth = 481
88
Color = clBtnFace
@@ -33,7 +33,7 @@ object MainForm: TMainForm
3333
Top = 76
3434
Width = 377
3535
Height = 25
36-
Caption = 'PreviewReport'
36+
Caption = 'Preview Report'
3737
TabOrder = 2
3838
OnClick = btnPreviewClick
3939
end

0 commit comments

Comments
 (0)