Print Page | Close Window

Building problem???

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=9934
Printed Date: 27 April 2024 at 4:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Building problem???
Posted By: Ahhh
Subject: Building problem???
Date Posted: 21 March 2008 at 6:38am
Hi, all.

I'm a beginner of Xtreme Toolkit Pro.
And I got a problem and can't solve it.

I import ToolkitPro1122vc80.lib statically and write 2 lines in constructor, like as follows.

XTPSkinManager()->LoadSkin( _T("./office2007.cjstyles") );
XTPSkinManager()->SetApplyOptions(XTPSkinManager()->GetApplyOptions() | xtpSkinApplyMetrics);

Then, generated app can't display min, max, close buttons and app icon.
All styles are broken.
As you know, it doesn't appear in dynamic loading.

So, what is the reason and is there any method to solve this problem???

I wish your help.


Regards!!!




Replies:
Posted By: Oleg
Date Posted: 21 March 2008 at 8:00am
Hi,
Try to reproduce it with new simple project and attach this project here. Do you see these buttons if you don't enable SkinFramework ?


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


Posted By: Ahhh
Date Posted: 23 March 2008 at 10:07pm
Hi,

I'll give you my sample program that shows dialog with a vista style.
In this sample, unfortunately, button appears without border, title bar is an black rectangle.
Please contact this url : uploads/20080323_220333_StaticSample.rar - uploads/20080323_220333_StaticSample.rar
I wish you give me an advice.

Thanks.



Posted By: Oleg
Date Posted: 24 March 2008 at 2:30am

Hello,

Works for me :(   So you don't have problem with Dll vresion only with Static Version ?
Are you sure you don't modify exe/attached sources after build ?


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


Posted By: Ahhh
Date Posted: 24 March 2008 at 5:27am
I built ToolkitPro library in Visual Studio 2005, and it didn't work.
I rebuild it by using deployment wizard.
I successfully link static library in Release mode, but can't in Debug mode.

Here are different settings:
Ignore libraries : "libc.lib, libcmt.lib, msvcrt.lib, libcmtd.lib, msvcrtd.lib"
C/C++ Code Generation : Debug Multithreaded

How can I successfully build it in Debug mode???



Posted By: Oleg
Date Posted: 24 March 2008 at 6:00am

Hello,

Works always. :(
Can you try download beta of 12.0 from beta.codejock.com and check if it works for you.


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


Posted By: Ahhh
Date Posted: 24 March 2008 at 11:56am
I think you can give me that sample project.
I can't build it in Debug mode.
Many LNK2001 error occurs.

ToolkitPro1122vc80SD.lib(zutil.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
ToolkitPro1122vc80SD.lib(pngset.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
ToolkitPro1122vc80SD.lib(pngerror.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
ToolkitPro1122vc80SD.lib(pngrutil.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
ToolkitPro1122vc80SD.lib(pngtrans.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
ToolkitPro1122vc80SD.lib(crc32.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
ToolkitPro1122vc80SD.lib(png.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
ToolkitPro1122vc80SD.lib(pngrio.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
ToolkitPro1122vc80SD.lib(inflate.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
...

Thanks for your trouble


Posted By: Oleg
Date Posted: 24 March 2008 at 2:05pm
Hi,
 
I compiled project you send ( https://forum.codejock.com/uploads/20080323_220333_StaticSample.rar - uploads/20080323_220333_StaticSample.rar )
but It doesn't have have "Ignore libraries : "libc.lib, libcmt.lib, msvcrt.lib, libcmtd.lib, msvcrtd.lib"".
Try to remove it.


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


Posted By: Ahhh
Date Posted: 24 March 2008 at 8:30pm
It works well.
Thanks a lot!!!



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