Page 1 of 1

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

Posted: Thu 20 Jun 2013 18:45
by costa
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

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

Posted: Fri 21 Jun 2013 11:01
by AlexP
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.

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

Posted: Sat 22 Jun 2013 03:06
by costa
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).

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

Posted: Tue 25 Jun 2013 09:37
by AlexP
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