UniDAC MySQL - FMX OsX - Compression function not linked

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
imsims
Posts: 6
Joined: Sun 18 Mar 2012 12:20

UniDAC MySQL - FMX OsX - Compression function not linked

Post by imsims » Sun 18 Mar 2012 12:24

UniDAC MySQL - FMX OsX - Compression function not linked

as object: if Compress=True in MAC Osx does not work.

all ok in win32


best regards

imsims
Posts: 6
Joined: Sun 18 Mar 2012 12:20

Post by imsims » Sun 18 Mar 2012 14:56

i found solution by myself:



uses MemUtils, Zlib;


On TMainForm.Create ADD :

self.UniConnection1.SpecificOptions.Values['Compress']:='True';

{$IFDEF MACOS}
MemUtils.CompressProc:[email protected];
MemUtils.UncompressProc:[email protected];
{$ENDIF MACOS}


bye!

AndreyZ

Post by AndreyZ » Mon 19 Mar 2012 11:56

Hello,

Please specify the exact version of UniDAC you are using. You can learn it from the About sheet of TUniConnection Editor.

imsims
Posts: 6
Joined: Sun 18 Mar 2012 12:20

Post by imsims » Wed 21 Mar 2012 14:06

4.1.3 trial

AndreyZ

Post by AndreyZ » Thu 22 Mar 2012 12:09

Please try using UniDAC 4.1.5 , it doesn't have such problem. Please note that UniDAC 4.1.5 requires RAD Studio XE2 Update 4.

imsims
Posts: 6
Joined: Sun 18 Mar 2012 12:20

Post by imsims » Fri 23 Mar 2012 01:42

AndreyZ wrote:Please try using UniDAC 4.1.5 , it doesn't have such problem. Please note that UniDAC 4.1.5 requires RAD Studio XE2 Update 4.
yes i know, but 4 now i cannot upgrade, due to font bug in update 4, and i have to deploy to customers ....


:P

AndreyZ

Post by AndreyZ » Fri 23 Mar 2012 11:33

To deploy your applications that use UniDAC to your customers, you should use UniDAC Licensed version, but not Trial. Otherwise, your customers will encounter UniDAC trial restrictions (I described them to you here: http://www.devart.com/forums/viewtopic.php?t=23694 ). Also, you will have to supply UniDAC BPL files with your application. You can find a note about this in the "Deployment" article of the UniDAC documentation.

Post Reply