Print Page | Close Window

_XTP_NO_BINARY_RESOURCES is not enough

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17329
Printed Date: 20 June 2025 at 7:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: _XTP_NO_BINARY_RESOURCES is not enough
Posted By: znakeeye
Subject: _XTP_NO_BINARY_RESOURCES is not enough
Date Posted: 26 September 2010 at 8:01am
Please add defines for all types of resources! Sometimes you want the cursors, but not the bitmaps/dialogs and stuff. Each type should have its own define!
 
Translation soon becomes a problem when there are a bunch of never-used dialogs present in the exe (XTP statically linked).


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: Oleg
Date Posted: 27 September 2010 at 7:03am
Hi,

Sound strange. when you need only cursor but not bitmaps ?  if you don't use some part of library but only want same cursor for some of your own window, I guess better just copy it to your local res folder.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 27 September 2010 at 10:44am
Manually adding certain resources is an option, but too tedious. And I don't believe my request is strange. Consider this:
 
"Controls resources" are added since I'm using CXTBrowseEdit. Then I get a bunch of toolbars, dialogs and stuff that will never be used!
 
ImageEditorIcons32.bmp 17 kB <-- I don't want that stuff :(
 
 
I believe _XTP_NO_BINARY_RESOURCES should be a union of these values:
_XTP_NO_STRING_RESOURCES
_XTP_NO_DIALOG_RESOURCES
etc
 
Because if I know for a fact that I will not instantiate these dialogs, then I don't want them in my exe! Like I said, bloating the resources makes localization a lot harder.


-------------
PokerMemento - http://www.pokermemento.com/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net