Page 1 of 1
NOSTATIC doesn't shrink my EXE?
Posted: Thu 22 Jun 2017 00:51
by FredS
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?
Re: NOSTATIC doesn't shrink my EXE?
Posted: Fri 23 Jun 2017 12:02
by MaximG
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?
Re: NOSTATIC doesn't shrink my EXE?
Posted: Fri 23 Jun 2017 15:53
by FredS
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..
Re: NOSTATIC doesn't shrink my EXE?
Posted: Mon 26 Jun 2017 13:04
by MaximG
Thank you for the information. We will add your comment into the blog.