Follow these steps to statically link with the Toolkit Pro Version:
Some libraries are incompatible when statically linking to MFC. On the link tab under input settings you will need to ignore the following libraries.
For “Multithreaded” add the following to the “Ignore libraries” list: libc.lib, msvcrt.lib
For “Debug Multithreaded” add the following to the “Ignore libraries” list: libcd.lib, msvcrtd.lib
See Linker Tools Warning LNK4098 in MSDN for more details.Add the following line to your application's .rc2 file. This will link in the toolkit resources so they are available to your application.
Toolkit Pro:#include <XTToolkitPro.rc>
Command Bars:
#include <XTCommandBarsPro.rc>
Docking Pane:
#include <XTDockingPanePro.rc>
Property Grid:
#include <XTPropertyGridPro.rc>
User Comments
No comments yet, sign in to comment.