Print Page | Close Window

excluding XTP components in DLL Build

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=4860
Printed Date: 13 May 2024 at 10:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: excluding XTP components in DLL Build
Posted By: sbinder
Subject: excluding XTP components in DLL Build
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: sbinder
Date 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.


Posted By: Oleg
Date Posted: 24 August 2006 at 9:01am
Hi,
 
Try link statically, as you can in http://www.codejock.com/downloads/samples/ - 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net