Page 1 of 1

Incompatibility

Posted: Mon 04 Mar 2013 11:46
by m227
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

Re: Incompatibility

Posted: Thu 07 Mar 2013 14:46
by DemetrionQ
Hello.

We don't provide such directives.