Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - _XTP_NO_BINARY_RESOURCES is not enough
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

_XTP_NO_BINARY_RESOURCES is not enough

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: _XTP_NO_BINARY_RESOURCES is not enough
    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/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.