NOSTATIC doesn't shrink my EXE?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

NOSTATIC doesn't shrink my EXE?

Post by FredS » Thu 22 Jun 2017 00:51

Recompiled a SqLite project with NOSTATIC and the source location as per:

Disabling Direct Mode In LiteDAC and UniDAC

The size of the EXE did not shrink, worse the project ran on Windows 7 out of the box.. bug or SqLite ":Memory:" db issue?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: NOSTATIC doesn't shrink my EXE?

Post by MaximG » Fri 23 Jun 2017 12:02

We tested the work of UniDAC when using the NOSTATIC compilation option and found no problems. Please describe the problem in more detail. While using what platform in your environment you detected incorrect behavior of this option?

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: NOSTATIC doesn't shrink my EXE?

Post by FredS » Fri 23 Jun 2017 15:53

MaximG wrote:While using what platform in your environment you detected incorrect behavior of this option?
Searched your source for NOSTATIC and saw that the path in the Blog post is insufficient:

Code: Select all

Add the path to the [DAC Installation Folder]\Source] folder to the Search Path property
Instead I needed:

Code: Select all

$(UniVCL)\Source;$(UniVCL)\Source\UniProviders\SQLite
You may want to update the Blog, also I see no mention of any of that in the Help file under SqLite provider..

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: NOSTATIC doesn't shrink my EXE?

Post by MaximG » Mon 26 Jun 2017 13:04

Thank you for the information. We will add your comment into the blog.

Post Reply