cursor still missing in static release build |
Post Reply |
Author | |
joggx
Groupie Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
Posted: 17 September 2008 at 10:31pm |
I have added
#define _XTP_STATICLINK
before include toolkit
and in res\app.rc2 file include resources:
#include "XTToolkitPro.rc"
But the splitter cursor is still missing. I am using 11.1.3 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Have to work. Maybe you need to rebuild your resources. Try to clean and rebuild whole application.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
joggx
Groupie Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
I rebuild the release version the problem persists.
|
|
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
|
Maybe you have another resource with the same ID?
|
|
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)
Platform: Windows 200x/XP/Vista/Win7 (32/64 bit) Language: Visual C++ 9.0 (Studio 2008) |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Show whole rc2 file. Hope [app] is name of your application ? :-)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
joggx
Groupie Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
app is my program name.
// // app.RC2 - resources Microsoft Visual C++ does not edit directly // #ifdef APSTUDIO_INVOKED #error this file is not editable by Microsoft Visual C++ #endif //APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // Add manually edited resources here... #include <XTToolkitPro.rc> ///////////////////////////////////////////////////////////////////////////// |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Strange. So "cursor is missing".. is it cursor of DockingPane spliter/PropertyGrid spliter or CXTSplitWnd splitter ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
... maybe your application is not very big now and you can send it to support to review ? if not, please attach app.rc too.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
joggx
Groupie Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
It is DockingPane spliter. Once the splitter disappears, the EditListBox icons disappear too.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Send application to support@codejock.com. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
joggx
Groupie Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
I add XTTooketPro.rc to project resource and now the problem disappears, I can see the splitter and other codejock resource.
But when the app starts, it asserts at the following line when loading string AFX_IDS_UNTITLED. void CSingleDocTemplate::SetDefaultTitle(CDocument* pDocument) { CString strDocName; if (!GetDocString(strDocName, CDocTemplate::docName) || strDocName.IsEmpty()) { // use generic 'untitled' VERIFY(strDocName.LoadString(AFX_IDS_UNTITLED)); } pDocument->SetTitle(strDocName); } |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
its part of MFC static resources. you need include them also.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
joggx
Groupie Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
why adding XTTooketPro.rc project resource makes the problem disappear? Is this the way it works?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
yes.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
joggx
Groupie Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
the problem is adding in res\app.rc2 file
#include "XTToolkitPro.rc" is not working, manually add in project resource working.
how can i add MFC resource then? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi.
It only means you don't include res\app.rc2 to your resource.
Its declared in AFXRES.RC - so you need it to yrou resources too.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
joggx
Groupie Joined: 21 August 2007 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
strange, I did include res\app.rc2 in my project, i even looked at app.proj and ensured the rc2 file is exactly the one intended.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
if you see app.rc2 in your app.proj it doesn't mean its included. It must be part of app.rc.
|
|
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 |