Wait!
cdevSystem already has a constant CDEV_MAJOR_VERSION and
CDEV_MINOR_VERSION that are const values that can be retrieved by
any application.
These were original enum values, but have since been changed to
constant strings to allow any number of variations (such as major and
minor revisions and release letters) to be added to the minor version.
I have also changed the cdevDirectory to load shared libraries and
DDL files based on these values.
Because they are static members, the major and minor version can be
accessed from the cdevSystem directly:
cdevSystem::CDEV_MAJOR_VERSION
cdevSystem::CDEV_MINOR_VERSION
Walt
--
=============================================================
Walt Akers Voice: (757)269-7669 E-Mail: akers@cebaf.gov
Thomas Jefferson National Accelerator Facility
12000 Jefferson Avenue, MS 16A
Newport News, Va 23606
=============================================================