Page 1 of 1

The MyDAC version number as a Readonly property

Posted: Wed 29 Dec 2004 13:44
by TheLion
Hi :-)

Is it possible to get the currect MyDAC version number from any of the MyDAC component?

I would like to include it in program logs. I have so many programs, it would be nice to be able to check witch version of MyDAC a program was using.

Re: The MyDAC version number as a Readonly property

Posted: Wed 29 Dec 2004 13:57
by Ikar
Check at run-time a value of MYDACVersion variable

Posted: Wed 29 Dec 2004 14:11
by TheLion
OK. sounds simple enough, but I had a hard time finding it :cry:

It isn't in MyDAC help :-(

I finnaly got it. Its a "global" string :-)

function GetMyDACVersion: string;
begin
Result := MYDACVersion;
end;