![]() |
separater icon disappears in release static |
Post Reply ![]() |
Author | |
joggx ![]() Groupie ![]() Joined: 21 August 2007 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() Posted: 23 February 2008 at 7:10am |
I build the application by linking to MFC statically and the icon (||) over the separator between main view and command bar disappears.
Thanks |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Yes, for Static version you need include our resources to your application (I wish there is automatic method - its our FAQ #1)
#include "XTToolkitPro.rc"
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
joggx ![]() Groupie ![]() Joined: 21 August 2007 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() |
I put #include "XTToolkitPro.rc" in mainframe.cpp and get the following error:
error C2143: syntax error : missing ';' before 'constant' on line: LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL in file resource-neutral.rc |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
??? Why to mainframe.cpp ?
to res\[app].rc2 file.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Oleg, isn't it possible to somehow check the instance handle in run-time and generate a warning message using TRACE?
TRACE("WARNING: Make sure to include XTToolkitPro.rc in your .rc2 file\n");
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Will add it in ResourceManager. Thanks.
|
|
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 |