![]() |
separater icon disappears in release static |
Post Reply
|
| Author | |
joggx
Groupie
Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
Quote Reply
Topic: separater icon disappears in release staticPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 February 2008 at 10:23am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 February 2008 at 9:39pm |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 February 2008 at 3:05am |
|
??? 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 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 February 2008 at 4:15pm |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 February 2008 at 5:29am |
|
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 |