Page 1 of 1

UniDAC MySQL - FMX OsX - Compression function not linked

Posted: Sun 18 Mar 2012 12:24
by imsims
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

Posted: Sun 18 Mar 2012 14:56
by imsims
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!

Posted: Mon 19 Mar 2012 11:56
by AndreyZ
Hello,

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

Posted: Wed 21 Mar 2012 14:06
by imsims
4.1.3 trial

Posted: Thu 22 Mar 2012 12:09
by AndreyZ
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.

Posted: Fri 23 Mar 2012 01:42
by imsims
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

Posted: Fri 23 Mar 2012 11:33
by AndreyZ
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.