Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Static include ToolkitPro1010vc60U.dll?!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Static include ToolkitPro1010vc60U.dll?!

 Post Reply Post Reply
Author
Message
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Topic: Static include ToolkitPro1010vc60U.dll?!
    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
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2008 at 11:19am
Build static version, and compile a static sample.

    Jimmy

Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.