Print Page | Close Window

static linking

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=8488
Printed Date: 26 June 2024 at 4:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: static linking
Posted By: mermaid
Subject: static linking
Date Posted: 22 October 2007 at 4:27am
I can not understand how to link Codejock library statically. I see many libraries in "Xtreme ToolkitPro v10.4.2\lib\vc80" folder. Which is needed?



Replies:
Posted By: Oleg
Date Posted: 22 October 2007 at 4:43am
Hi,
 
All you need is
 
1. Add #define _XTP_STATICLINK before you include toolkit
2. Add toolkit resources to you res\app.rc2 file: #include "XTToolkitPro.rc"


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mermaid
Date Posted: 24 October 2007 at 12:17am
Thanks.



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