![]() |
Building problem??? |
Post Reply
|
| Author | |
Ahhh
Newbie
Joined: 05 March 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: Building problem???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!!! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Ahhh
Newbie
Joined: 05 March 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
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 I wish you give me an advice. Thanks. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Ahhh
Newbie
Joined: 05 March 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
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??? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Ahhh
Newbie
Joined: 05 March 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 March 2008 at 2:05pm |
|
Hi,
I compiled project you send (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 |
|
![]() |
|
Ahhh
Newbie
Joined: 05 March 2008 Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 March 2008 at 8:30pm |
|
It works well.
Thanks a lot!!! |
|
![]() |
|
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 |