![]() |
excluding XTP components in DLL Build |
Post Reply ![]() |
Author | |
sbinder ![]() Groupie ![]() ![]() Joined: 22 November 2004 Location: Austria Status: Offline Points: 76 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
sbinder ![]() Groupie ![]() ![]() Joined: 22 November 2004 Location: Austria Status: Offline Points: 76 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |