Incompatibility

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
m227
Posts: 75
Joined: Mon 06 Aug 2007 12:41

Incompatibility

Post by m227 » Mon 04 Mar 2013 11:46

Dear Sirs,

According to information found on this forum, since any particular version o DAC for MySQL (between 7.1 and 7.6) there is requirement to add following line to avoid incompatibility error of types (LargeInt and LongWord ) in runtime:

Code: Select all

MyConnection.DataTypeMap.AddDBTypeRule(myIntUnsigned, ftLargeint);
The question is how to get information of MyDAC installed to be able to compile code with or without such line? Is there something that can be used like:

{$ifdef MyDAC7.6} or {$ifdef DataTypeMapExists}

We use different versions of MyDAC but share source code.

Michal

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: Incompatibility

Post by DemetrionQ » Thu 07 Mar 2013 14:46

Hello.

We don't provide such directives.

Post Reply