Lazarus Version as String lazarus / 62-General ---------------------------------------------------------------------- Dick Maley · 2015-05-28 13:25 Is it possible to get the version of Lazarus being used as a string in code? ---------------------------------------------------------------------- Dick Maley · 2015-05-28 13:51 I did find the lazarus version in version.inc in the ide directory.  It is not exactly what I wanted, but accessing this file I can turn it into a string. ---------------------------------------------------------------------- BitBangerUSA · 2015-05-28 14:54 that of course, will only work on machines where Lazarus is installed. have you thought about using Version Information for the project? this could be a problem if you are doing a multi-platform program - i don't know. ---------------------------------------------------------------------- Zoran · 2015-05-28 18:55 Quote from: Dick Maley on May 28, 2015, 03:25:27 pmIs it possible to get the version of Lazarus being used as a string in code? Add unit "LCLVersion" to uses section. Then take a look at the consts defined there ---------------------------------------------------------------------- jc99 · 2015-06-13 07:11 Quote from: BitBangerUSA on May 28, 2015, 04:54:01 pmthat of course, will only work on machines where Lazarus is installed. have you thought about using Version Information for the project? this could be a problem if you are doing a multi-platform program - i don't know. This is only a problem if you interpret the file at runtime. Including at compile-time it to the code should be no problem.