Static include ToolkitPro1010vc60U.dll?! |
Post Reply |
Author | |
FSauer
Groupie Joined: 10 May 2006 Location: Germany Status: Offline Points: 96 |
Post Options
Thanks(0)
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
|
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Build static version, and compile a static sample.
Jimmy |
|
FSauer
Groupie Joined: 10 May 2006 Location: Germany Status: Offline Points: 96 |
Post Options
Thanks(0)
|
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
|
|
FSauer
Groupie Joined: 10 May 2006 Location: Germany Status: Offline Points: 96 |
Post Options
Thanks(0)
|
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 |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Hi,
Don't forget to add the XTtoolkit.rc into your app.rc2 file, if you static link toolkit. Jimmy |
|
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 |