Building dbexpoda40.dll from source code in XE4 results in a bigger dll

Building dbexpoda40.dll from source code in XE4 results in a bigger dll

Postby costa » Thu 20 Jun 2013 18:45

Hello:

I am using Delphi XE4 Enterprise Update 1.

When we installed the driver from the setup (dbxoda62.exe, version 6.2.3) the sizes of the dlls that it installs are:
Win32:
C:\Program Files (x86)\Devart\Dbx\Oracle\Bin\Win32\dbexpoda40.dll - 507,904
Win64:
C:\Program Files (x86)\Devart\Dbx\Oracle\Bin\Win64\dbexpoda40.dll - 2,775,040

However when we build the dlls from the source code the sizes are:
...\Dbx\Oracle\Source\Delphi18\Win32\dbexpoda40.dll - 2,714,112
...\Dbx\Oracle\Source\Delphi18\Win64\dbexpoda40.dll - 4,419,072

I looked at the make.bat and the debugging is turned off. Why is there such a big difference in size? What version do you use to build the dlls?

We actually got a patch from devart and had to compile the source code manually, that's why we noticed the difference.

Thanks
costa
 
Posts: 30
Joined: Thu 27 Aug 2009 20:30

Re: Building dbexpoda40.dll from source code in XE4 results in a bigger dll

Postby AlexP » Fri 21 Jun 2013 11:01

Hello,

By default, the dbexpoda40.dproj project is built in the debug mode. You can change this parameter directly in the dbexpoda40.dproj file or open the project in Delphi and change its parameters.
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Building dbexpoda40.dll from source code in XE4 results in a bigger dll

Postby costa » Sat 22 Jun 2013 03:06

I changed the target to release in the project, but the file sizes are roughly the same after I recompiled the library (via make.bat).
costa
 
Posts: 30
Joined: Thu 27 Aug 2009 20:30

Re: Building dbexpoda40.dll from source code in XE4 results in a bigger dll

Postby AlexP » Tue 25 Jun 2013 09:37

Hello,

The size of the library shipped with the Std version differs from the one built with the IDE or a .bat file due to the fact that we use ASProtect for compression of destination files
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35


Return to dbExpress driver for Oracle