# BCB 2006+ version constants

**URL:** https://www.finalbuilder.com/forums/t/bcb-2006-version-constants/1789
**Category:** Discussion
**Created:** [June 25, 2011, 2:36am UTC](https://www.finalbuilder.com/forums/t/bcb-2006-version-constants/1789 "2011-06-25T02:36:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![boylank](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/e0b2c6/32.png) [@boylank](https://www.finalbuilder.com/forums/u/boylank)
#### Post date: [June 25, 2011, 2:36am UTC](https://www.finalbuilder.com/forums/t/bcb-2006-version-constants/1789/1 "2011-06-25T02:36:15Z")

</div>

I found the following compiler constants in another thread but it is not up to date as it does not include values for BCB 2006 and later. &nbsp;I was able to find values for cvDelphiXE and cvDelphiXE2 but could not find values for cvBCB2006, cvBCB2007... cvBCB2XE. &nbsp;Are these other compiler version constants documented somewhere? &nbsp;I need the values but would also like the constants that go with them since they make much more readable code. &nbsp;Thanks!

cvDelphi3 = 0&nbsp;  
cvDelphi4 = 1&nbsp;  
cvDelphi5 = 2&nbsp;  
cvDelphi6 = 3&nbsp;  
cvDelphi7 = 4&nbsp;  
cvBCB3 = 5&nbsp;  
cvBCB4 = 6&nbsp;  
cvBCB5 = 7&nbsp;  
cvBCB6 = 8&nbsp;  
cvBCB7 = 9&nbsp;  
cvDelphi2005 = 10&nbsp;  
cvDelphi2006 = 11&nbsp;  
cvDelphi2007 = 12&nbsp;  
cvDelphi2009 = 13&nbsp;  
cvDelphi2010&nbsp;= 14&nbsp;  
OTHERS:  
cvDelphiXE = 15  
cvDelphiXE2 = 16  
cvBCB2006 = ??  
cvBCB2007 = ??  
etc

&nbsp;

&nbsp;
