Skip to content

Commit

Permalink
Update with Splash Screen Fix
Browse files Browse the repository at this point in the history
Update the code with a workaround for displaying the splash screen in a
DLL, based on infomration from Embarcadero support via the quality
portal.
  • Loading branch information
DGH2112 committed Jul 9, 2017
1 parent 29a83b8 commit a2b7463
Show file tree
Hide file tree
Showing 24 changed files with 2,232 additions and 232 deletions.
6 changes: 3 additions & 3 deletions CPPOTATemplateXE101.map
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Start Length Name Class
0001:00401000 00000B81CH _TEXT CODE
0002:0040D000 0000027D8H _DATA DATA
0003:0040F7D8 0000001B4H _BSS BSS
0001:00401000 00000C02CH _TEXT CODE
0002:0040E000 0000028F8H _DATA DATA
0003:004108F8 0000001B4H _BSS BSS
0004:00000000 00000009CH _TLS TLS
6 changes: 6 additions & 0 deletions CPPOTATemplateXE102.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

Start Length Name Class
0001:00401000 000009DD8H _TEXT CODE
0002:0040B000 0000028F8H _DATA DATA
0003:0040D8F8 0000001B0H _BSS BSS
0004:00000000 00000009CH _TLS TLS
419 changes: 211 additions & 208 deletions DLLs/CPPOTATemplateXE101.cbproj

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions DLLs/CPPOTATemplateXE101.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
#pragma hdrstop
#pragma argsused

//: @note This pragma line fixes the missing external references to the DesignIDE.BPL package.
#pragma link "DesignIDE.bpi"

int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved)
{
return 1;
Expand Down
7 changes: 5 additions & 2 deletions DLLs/CPPOTATemplateXE101.ithelper
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CompileWithBRCC32=0
MajorVer=1
MinorVer=0
ReleaseVer=0
BuildVer=14
BuildVer=19
ResourceName=CPPOTATmpITHVerInfo

[Zipping]
Expand All @@ -22,7 +22,7 @@ ExclusionFiles=
[VersionInfo]
CompanyName=Season's Fall Music
FileDescription=CPPOTATemplateXE101: A template CPP Open Tools API example.
FileVersion=1.0.0.14
FileVersion=1.0.0.19
InternalName=CPPOTATemplateXE101
LegalCopyright=Season's Fall Music
LegalTrademarks=Season's Fall Music
Expand All @@ -31,3 +31,6 @@ ProductName=CPPOTATemplateXE101
ProductVersion=1.0
Comments=CPPOTATemplateXE101: A template CPP Open Tools API example.

[Additional Zip Files]
Item0=D:\HoylD\RAD Studio\IDE Addins\CPP OTA Template\Source\*.h

680 changes: 680 additions & 0 deletions DLLs/CPPOTATemplateXE102.cbproj

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions DLLs/CPPOTATemplateXE102.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Important note about DLL memory management when your DLL uses the
// static version of the RunTime Library:
//
// If your DLL exports any functions that pass String objects (or structs/
// classes containing nested Strings) as parameter or function results,
// you will need to add the library MEMMGR.LIB to both the DLL project and
// any other projects that use the DLL. You will also need to use MEMMGR.LIB
// if any other projects which use the DLL will be performing new or delete
// operations on any non-TObject-derived classes which are exported from the
// DLL. Adding MEMMGR.LIB to your project will change the DLL and its calling
// EXE's to use the BORLNDMM.DLL as their memory manager. In these cases,
// the file BORLNDMM.DLL should be deployed along with your DLL.
//
// To avoid using BORLNDMM.DLL, pass string information using "char *" or
// ShortString parameters.
//
// If your DLL uses the dynamic version of the RTL, you do not need to
// explicitly add MEMMGR.LIB as this will be done implicitly for you

#include <vcl.h>
#include <windows.h>

#pragma hdrstop
#pragma argsused

//: @note This pragma line fixes the missing external references to the DesignIDE.BPL package.
#pragma link "DesignIDE.bpi"

int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved)
{
return 1;
}

8 changes: 8 additions & 0 deletions DLLs/CPPOTATemplateXE102.eof
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@


[Exception Log]
EurekaLog Version=8000
Activate=1
DeleteMapAfterCompile=0
Encrypt Password=""

36 changes: 36 additions & 0 deletions DLLs/CPPOTATemplateXE102.ithelper
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[Setup]
WarnBefore=0
WarnAfter=0
IncBuild=1
CopyVersionInfoFrom=
ExcludedResExts=.dcr
EnabledVersionInfo=1
IncludeInProject=1
CompileWithBRCC32=0
MajorVer=1
MinorVer=0
ReleaseVer=0
BuildVer=21
ResourceName=CPPOTATmpITHVerInfo

[Zipping]
Enabled=1
ZipFile=D:\HoylD\Web Page\Zips\CPPOTATemplate.zip
BasePath=D:\HoylD\RAD Studio\
ExclusionFiles=

[VersionInfo]
CompanyName=Season's Fall Music
FileDescription=CPPOTATemplateXE101: A template CPP Open Tools API example.
FileVersion=1.0.0.21
InternalName=CPPOTATemplateXE101
LegalCopyright=Season's Fall Music
LegalTrademarks=Season's Fall Music
OriginalFilename=CPPOTATemplateXE101
ProductName=CPPOTATemplateXE101
ProductVersion=1.0
Comments=CPPOTATemplateXE101: A template CPP Open Tools API example.

[Additional Zip Files]
Item0=D:\HoylD\RAD Studio\IDE Addins\CPP OTA Template\Source\*.h

Binary file added DLLs/CPPOTATemplateXE102.res
Binary file not shown.
File renamed without changes.
6 changes: 3 additions & 3 deletions DLLs/CPPOTATmpITHVerInfo.RC
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US

1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE IMPURE
FILEVERSION 1, 0, 0, 13
PRODUCTVERSION 1, 0, 0, 13
FILEVERSION 1, 0, 0, 20
PRODUCTVERSION 1, 0, 0, 20
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
Expand All @@ -13,7 +13,7 @@ FILETYPE VFT_APP
{
VALUE "CompanyName", "Season's Fall Music\000"
VALUE "FileDescription", "CPPOTATemplateXE101: A template CPP Open Tools API example.\000"
VALUE "FileVersion", "1.0.0.13\000"
VALUE "FileVersion", "1.0.0.20\000"
VALUE "InternalName", "CPPOTATemplateXE101\000"
VALUE "LegalCopyright", "Season's Fall Music\000"
VALUE "LegalTrademarks", "Season's Fall Music\000"
Expand Down
Binary file modified DLLs/Win32/Debug/CPPOTATmpITHVerInfo_0.res
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit a2b7463

Please sign in to comment.