![]() |
Larger compiled size |
Post Reply
|
| Author | |
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Topic: Larger compiled sizePosted: 04 May 2008 at 2:43am |
|
Just wondering - after putting in 12.0 after 11.2.1 the release compiled size has grown by a few hundred kilobytes. Is there any specific reason for it? Can I exclude some extra stuff from 12.0 to make it smaller?
Thanks, Dennis |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 May 2008 at 1:18pm |
|
Hi,
I think the new markup feature need more size. If you can exclude this, i don't known. How do you link ? Static or with Dynamic with CJ DLL. Jimmy |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 May 2008 at 5:42pm |
Maybe you're right - I'll dig deeper into this. I'm linking statically. Thanks, Dennis |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
Smucker
Senior Member
Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 May 2008 at 3:13am |
|
To eliminate unused code, be sure that function-level linking is on for Codejock and your projects. Also you may want to be sure you're only including toolkit resources that you need.
|
|
|
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) |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 May 2008 at 7:31pm |
I'll double-check, but I think it's already on. The resources are one area I haven't really checked, so I'll take a look at it. Thanks! |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2008 at 6:58am |
|
I believe the refined 2007-styles requires new images to be added. It's definitely the resource section you should look at!
|
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2008 at 7:35am |
Maybe I'm not doing it right, but I just can't get the size to go down :( I've added the following to my stdafx.h before including XTToolkitPro.h *and* also to my .rc2 file before including XTToolkitPro.rc: #define _XTP_EXCLUDE_SYNTAXEDIT #define _XTP_EXCLUDE_SHORTCUTBAR #define _XTP_EXCLUDE_TASKPANEL #define _XTP_EXCLUDE_RIBBON these are things I don't use. It is still bigger than the 11.2 compile. Am I looking in the right direction or should I be doing something else? Thanks! |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2008 at 9:20am |
|
Hi,
Also try in Source\Common\XTPVersion.h comment
#define _XTP_INCLUDE_MARKUP
and rebuild lib.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2008 at 5:49pm |
It has actually grown by 10K after that Weird... I'll try to comment out other things as well from there to see if it helps. Is there any other place I can define/undefine/comment out things?Thanks! |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 May 2008 at 1:11am |
|
Hi,
Are you sure you rebuild static library - not dynamic ? |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 May 2008 at 4:14am |
Yes, otherwise it would require CJ DLLs to run ![]() One thing I haven't tried is doing a full solution rebuild - maybe that will help. I'll try it tonight. |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 May 2008 at 9:44am |
|
Well, a full rebuild didn't really help, but I guess it's just the price I'll have to pay for the newer version
Unless it's supposed to be smaller or the same, then there's a problem? |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
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 |