Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - excluding XTP components in DLL Build
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

excluding XTP components in DLL Build

 Post Reply Post Reply
Author
Message
sbinder View Drop Down
Groupie
Groupie
Avatar

Joined: 22 November 2004
Location: Austria
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote sbinder Quote  Post ReplyReply Direct Link To This Post Topic: excluding XTP components in DLL Build
    Posted: 23 August 2006 at 4:28am
Hi,

i didnīt find a way to selectively compile the Toolkit Pro DLL.

I just wanted to exclude a few components (Skinframework, Ribonbar).

Iīve tried to comment out the headers in XTToolkitPro.h, and also commentet out the #defines in XTPVersion.h (ie "#define _XTP_INCLUDE_SKINFRAMEWORK").

but both alterations did not exclude them.

thnx for any help on this topic,

Stefan Binder
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: 23 August 2006 at 8:43am
Hi,
If you want decrease dll size,
open solution in ide and delete solurion's folders you don't need.
 
You can link toolkit statically, in this case only code you use from toolkit will be included to executable.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
sbinder View Drop Down
Groupie
Groupie
Avatar

Joined: 22 November 2004
Location: Austria
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote sbinder Quote  Post ReplyReply Direct Link To This Post Posted: 24 August 2006 at 3:25am
Thanks for information.

though i have  problems building the dll, cause Commandbars has 2  dependencies on RibbonBar (with 2007 Style).

I managed to get Debug build to compile, but still got error in release build.

But as the Size without components i dont need, only gets decreased  by <1 MByte, iīll stay with the complete DLL.
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 August 2006 at 9:01am
Hi,
 
Try link statically, as you can in http://www.codejock.com/downloads/samples/ page, statically linked samples have size just about 500-1000kb and don't requre toolkit dll.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.191 seconds.