Print Page | Close Window

Static include ToolkitPro1010vc60U.dll?!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9268
Printed Date: 22 November 2024 at 7:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Static include ToolkitPro1010vc60U.dll?!
Posted By: FSauer
Subject: Static include ToolkitPro1010vc60U.dll?!
Date Posted: 09 January 2008 at 11:14am
Hi.
 
Is it possible to include the ToolkitPro1010vc60U.dll in the example project ReportSample, with the result ReportSampleU.exe runs without the ToolkitPro1010vc60U.dll?
 
I don't want to copy the DLL on any Computer to use the ReportSample!
 
I need this solution for my own Programm!
Still now i do it like below:
CXTPResourceManager* m_ResourceManager = new CXTPResourceManager();
m_ResourceManager->SetResourceFile("C:\\ToolkitPro1010vc60U.dll");
 
Have anybody an idea?
 
Regards
Fabian



Replies:
Posted By: jimmy
Date Posted: 09 January 2008 at 11:19am
Build static version, and compile a static sample.

    Jimmy



Posted By: FSauer
Date Posted: 10 January 2008 at 3:44am
Hi Jimmy.
 
The config of my project is "WIN32 Unicode Release" and the Microsoft Foundation Classes are static linked! But it doesn't work without the DLL ToolkitPro1010vc60U.dll.
If you compile the example project like this and test ReportSampleU.exe on an Computer, where you haven't installed Codejock, the Exe don't work!
 
Have you or anybody any idea to find a solution?
 
Fabian


Posted By: FSauer
Date Posted: 10 January 2008 at 4:16am
Ok. I find the solution!

Deutsch: "Wer lesen kann ist klar im Vorteil"
I find the soltion in the "Toolkit Pro User Guide\FAQ for Xtreme Toolkit Pro\
How to Statically Link with Xtreme Toolkit Pro when Statically Linked to MFC".
 
Regards
Fabian


Posted By: jimmy
Date Posted: 10 January 2008 at 6:19am
Hi,

Don't forget to add the XTtoolkit.rc into your app.rc2 file, if you static link toolkit.

  Jimmy




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