![]()  | 
 
Determine Codejock version during compile | 
 
    Post Reply  
   | 
  
| Author | |
   
   jpnascim  
   
   Groupie  
   Joined: 17 November 2006 Location: Brazil Status: Offline Points: 12  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Determine Codejock version during compilePosted: 22 March 2010 at 8:11am  | 
 
| 
   
    
   
Hello, 
   
  I am attempting to upgrade from Codejock v. 9.6 to Codejock 11.1 and I need to correct certain codejock calls in our code that have become incompatible with version 11.1. However, for reasons here, I need to make the code compatible with both versions. Is there are any way (during compilation) to determine which version of Codejock I am using? I would like to do something as: #ifdef CODEJOCK_VERSION_11_1 myReportControl.GetPaintManager()->SetColumnStyle(xtpReportColumnOffice2003); #else myReportControl.GetPaintManager()->m_columnStyle = xtpColumnFlat; #endif I've found 'CXTAuxData' class but it returns version during runtime only. Any ideas? Thank you, Joćo Pedro  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |