Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Larger compiled size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Larger compiled size

 Post Reply Post Reply
Author
Message
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post Topic: Larger compiled size
    Posted: 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)
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2008 at 5:42pm
Originally posted by jimmy jimmy wrote:

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


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)
Back to Top
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post 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)

Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2008 at 7:31pm
Originally posted by Smucker Smucker wrote:

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.


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)
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2008 at 7:35am
Originally posted by znakeeye znakeeye wrote:

I believe the refined 2007-styles requires new images to be added. It's definitely the resource section you should look at!

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)
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2008 at 5:49pm
Originally posted by oleg oleg wrote:

Hi,
 
Also try in Source\Common\XTPVersion.h  comment
#define _XTP_INCLUDE_MARKUP
and rebuild lib.

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)
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 09 May 2008 at 1:11am
Hi,

Are you sure you rebuild static library - not dynamic ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2008 at 4:14am
Originally posted by oleg oleg wrote:

Hi,

Are you sure you rebuild static library - not dynamic ?

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)
Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post 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)
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.094 seconds.