I have used vinfo like described here: Topic: Get and use the Build Number within your program http://forum.lazarus.freepascal.org/index.php?topic=12435.0 And, this vinfo inspired rework might also help: Topic: Accessing build info and compiler info in Source http://forum.lazarus.freepascal.org/index.php?topic=13957.0