Incompatibility
Posted: 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:
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
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);{$ifdef MyDAC7.6} or {$ifdef DataTypeMapExists}
We use different versions of MyDAC but share source code.
Michal