Hi
I have installed the package ZeosLib in the EDI.
In my projects, I need to know and test the version installed, to make them more independent of the package version and avoid compatibility breaks.
In a source of the ZeosLib package (Zeos.inc) there is
which could help me if I could write in my projects
{$IF ZEOS80UP}
// Code for 8.0
{$ELSE}
// Code for older version
{$ENDIF}
Before, I have to add in my source
But, the exact root path of the package sources (zeosfolder) can change on every installation.
Is there not a way to know where are the source of the installed package, or a way to find them without adding a hard coded path in the options ?
Thanks for your suggestions.
[Of course, this is a general issue, not a ZeosLib issue]