![]()  | 
 
CXTPTaskDialog and SetResourceFile | 
 
    Post Reply  
   | 
  
| Author | |||
   
   zitz  
   
   Senior Member  
   Joined: 05 October 2008 Status: Offline Points: 112  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: CXTPTaskDialog and SetResourceFilePosted: 16 March 2009 at 4:18am  | 
 ||
| 
   
    
   I use Xtreme ToolkitPro v13.0.0 
   
  If load resource dll 
 or any other resource dll from Xtreme ToolkitPro v13.0.0\Utils\Translations then 
 CXTPTaskDialog is showing without icon! ASSERT(hNewIcon != NULL); 
 Please help!!! What to do to fix this? 
    | 
 |||
![]()  | 
 |||
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 March 2009 at 8:09am | 
 ||
| 
   
    Hi, Do you build statically ? 
    | 
 |||
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |||
![]()  | 
 |||
   
   zitz  
   
   Senior Member  
   Joined: 05 October 2008 Status: Offline Points: 112  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 March 2009 at 8:10am | 
 ||
| 
   
    
   
Yes, i build statically. 
   
  If i comment //XTPResourceManager()->SetResourceFile(...icon is show ok  | 
 |||
![]()  | 
 |||
   
   zitz  
   
   Senior Member  
   Joined: 05 October 2008 Status: Offline Points: 112  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 March 2009 at 3:27pm | 
 ||
| 
   
    
   I use the same code at Xtreme ToolkitPro v11.2.0 and it's work fine.  
   
  I make a multilingual application and need to localize Codejock dialogs.  | 
 |||
![]()  | 
 |||
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 17 March 2009 at 3:23am | 
 ||
| 
   
    
   Thanks, I see.
 
   
  thing that these dlls don't have binary resources by default. You can modify Workspace\Resource\ResourcePackage.h  and remove "_XTP_NO_BINARY_RESOURCES" and rebuild dlls. 
    | 
 |||
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |||
![]()  | 
 |||
   
   zitz  
   
   Senior Member  
   Joined: 05 October 2008 Status: Offline Points: 112  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 18 March 2009 at 3:56am | 
 ||
| 
   
    
   These icons do not change depending on the language, why would they get from a language dll? 
   
  I set SetUseSysIcons( TRUE ) - it decided my problem. Many problems can be obtained using a language dll without binary resources?  | 
 |||
![]()  | 
 |||
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 18 March 2009 at 9:41am | 
 ||
| 
   
    
   Hi,
 
   
  Seems with static build it can be problem with all binary resources. :(  Suggest to add them anyway. 
    | 
 |||
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |||
![]()  | 
 |||
    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  |