Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - separater icon disappears in release static
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

separater icon disappears in release static

 Post Reply Post Reply
Author
Message
joggx View Drop Down
Groupie
Groupie


Joined: 21 August 2007
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote joggx Quote  Post ReplyReply Direct Link To This Post Topic: separater icon disappears in release static
    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

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: 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
Back to Top
joggx View Drop Down
Groupie
Groupie


Joined: 21 August 2007
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote joggx Quote  Post ReplyReply Direct Link To This Post 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



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: 24 February 2008 at 3:05am
??? Why to mainframe.cpp ?
 
to res\[app].rc2 file.
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: 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");
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 February 2008 at 5:29am
Hi,
 
Will add it in ResourceManager. Thanks.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.063 seconds.