![]() |
CXTPTaskDialog and SetResourceFile |
Post Reply ![]() |
Author | |||
zitz ![]() Senior Member ![]() Joined: 05 October 2008 Status: Offline Points: 112 |
![]() ![]() ![]() ![]() ![]() Posted: 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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
||
Hi, Do you build statically ?
|
|||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|||
![]() |
|||
zitz ![]() Senior Member ![]() Joined: 05 October 2008 Status: Offline Points: 112 |
![]() ![]() ![]() ![]() ![]() |
||
Yes, i build statically.
If i comment //XTPResourceManager()->SetResourceFile(...icon is show ok |
|||
![]() |
|||
zitz ![]() Senior Member ![]() Joined: 05 October 2008 Status: Offline Points: 112 |
![]() ![]() ![]() ![]() ![]() |
||
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
||
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 |
![]() ![]() ![]() ![]() ![]() |
||
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
||
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 |