![]()  | 
 
where should I include "XTToolkitPro.rc" | 
 
    Post Reply  
   | 
  
| Author | |
   
   yycinter  
   
   Groupie  
   Joined: 06 October 2008 Status: Offline Points: 11  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: where should I include "XTToolkitPro.rc"Posted: 06 October 2008 at 3:04am  | 
 
| 
   
    
   Dear all, 
   
  I am using Report Ctrl component and try to statically link wtih eXtrem Toolkit Pro lib. It report an Assertion "VERIFY(XTPResourceManager()->LoadBitmap(&bmp, XTP_IDB_REPORT_GLYPHS))". Google told me I should include "XTToolkitPro.rc" in myproject.rc2 file. But problem is I don't use rc & rc2 file in my project, all UI position is defined in our xml file. I tried include "XTToolkitPro.rc" in my stdafx.h, but got follow error: 1>c:\client\xtreme toolkitpro v12.0.0\source\Calendar/res/Resource-Neutral.rc(28) : error C2143: syntax error : missing ';' before 'constant' 1>c:\client\xtreme toolkitpro v12.0.0\source\Calendar/res/Resource-Neutral.rc(28) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int I am a new comer to MFC & eXtrem toolkit. Thanks for your time!  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 06 October 2008 at 8:57am | 
 
| 
   
    Hello, If you don't have rc file, you have load external dll with toolkit resources. Compile one in Workspace\Resource folder and load with XTPResourceManager()->SetResourceFile(...); 
    | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   yycinter  
   
   Groupie  
   Joined: 06 October 2008 Status: Offline Points: 11  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 06 October 2008 at 9:47pm | 
 
| 
   
    
   Thanks for your response! 
   
  Which dll include toolkit resource? ToolKitPro1200vcxxxx.dll? If it need be created by myself, I only use ReportCtrl, what should I include in my resource dll? Could you give more detail?  | 
 |
![]()  | 
 |
    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  |