Print Page | Close Window

separater icon disappears in release static

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=9672
Printed Date: 20 June 2025 at 11:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: separater icon disappears in release static
Posted By: joggx
Subject: separater icon disappears in release static
Date 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




Replies:
Posted By: Oleg
Date 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


Posted By: joggx
Date 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





Posted By: Oleg
Date Posted: 24 February 2008 at 3:05am
??? Why to mainframe.cpp ?
 
to res\[app].rc2 file.


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


Posted By: znakeeye
Date 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");


Posted By: Oleg
Date Posted: 27 February 2008 at 5:29am
Hi,
 
Will add it in ResourceManager. Thanks.


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



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