Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - Building problem???
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Building problem???

 Post Reply Post Reply
Author
Message
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post 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!!!

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: 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
Back to Top
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post 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.

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 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
Back to Top
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post 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???

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 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
Back to Top
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post 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
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 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
Back to Top
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2008 at 8:30pm
It works well.
Thanks a lot!!!
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.172 seconds.