![]() |
Static VS Dynamic linking |
Post Reply ![]() |
Author | |
Usha ![]() Newbie ![]() Joined: 18 January 2008 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 18 January 2008 at 4:48am |
We are using XtremeToolkitPro_v10.3.1 and I am using classes CXTShellList and CXTShellTree to simulate Windows Explorer folder view.
When I statically link with CodeJock I get lot of assertions, esp. resource related.
Example :
File XTHeaderCtrl.cpp, Line 585,
CMenu menu;
VERIFY(XTPResourceManager()->LoadMenu(&menu, XT_IDM_POPUP)) This fails.
If I link dynamically, then I do not see these problems.
All I did was defined the following in my header file to make it link statically.
#define _XTP_STATICLINK
#include <XTToolkitPro.h> // Codejock Software Components
Am I missing anything? Can someone please explain.
thanks
|
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() |
Hi;
In Codejocks users help you find a section about statically linking...
Here's the solution:
Question:
How do I statically link with Xtreme Toolkit Pro and when statically linked to MFC? Answer:
Follow these steps to statically link with the Xtreme Toolkit Professional Version:
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
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 |