Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to using in none-english  with static link?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to using in none-english with static link?

 Post Reply Post Reply
Author
Message
lanlamer View Drop Down
Newbie
Newbie


Joined: 18 January 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote lanlamer Quote  Post ReplyReply Direct Link To This Post Topic: How to using in none-english with static link?
    Posted: 11 March 2008 at 10:25am
Hi,all!
I want to use the Xtreme Toolkit Pro in my none-english project with statically link,what steps should I do?
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 11 March 2008 at 12:00pm
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:
  1. Change your project settings to “Use MFC in a Static Library”. This is found on the “General” tab in your project settings dialog.
  2. Change your “C/C++ Code Generation” to use either “Multithreaded” or “Debug Multithreaded” run-time library. For release builds use the “Multithreaded” (non DLL) run-time library. For debug builds use “Debug Multithreaded” (non DLL) run-time library.
  3. 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, libcd.lib, libcmtd.lib, msvcrtd.lib
    For “Debug Multithreaded” add the following to the “Ignore libraries” list:
    libc.lib, libcmt.lib, msvcrt.lib, libcmtd.lib, msvcrtd.lib
    See Linker Tools Warning LNK4098 in MSDN for more details.
  4. Add the following line to your application's .rc2 file. This will link in the toolkit resources so they are available to your application.

    #define _XTP_RESOURCE_LANGUAGE de // e.g. to switch to German language

    #include <XTToolkitPro.rc>
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
lanlamer View Drop Down
Newbie
Newbie


Joined: 18 January 2008
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote lanlamer Quote  Post ReplyReply Direct Link To This Post Posted: 11 March 2008 at 11:16pm
Thanks very much!
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.047 seconds.