Install and compile Xtreme toolkit pro

Source: Internet
Author: User

The Xtreme toolkit pro library is very useful in VC. Here are the detailed steps:

1. Download codejock. Xtreme. toolkit. Pro. v13.2.1 first

2. Perform the next step during installation.

3. A new configuration window will be displayed after the installation. Here you can check whether you need to select the Unicode version.

Or DLL or static Lib. We recommend that you do not need to include DLL when using Lib for release.

4. After the selection is complete, a cmd window will pop up to start self-compilation. The process is from 5 minutes to 10 minutes.

5. After compilation, You can compile the example. Make the settings before compilation. In project> setting> General> Microsoft Foundation Classes, select

Use MFC in a static library can be compiled.

 

  • Static link considerations

1) Static link to xtp when the program is dynamically linked to the MFC Library

2) When the program is dynamically static to the MFC library, it is statically linked to the xtp

In either case, you can configure _ xtp_staticlink to enable static connections. Remember to include the following statement in the RC2 file of your project during static connections, otherwise, an exception occurs when calling resources in xtp.

# Include <xttoolkitpro. rc>

During toolkit installation, compilation of the corresponding Lib is very slow. At that time, I only generated a static library. They are:

Toolkitpro1321vc80s. Lib

Toolkitpro1321vc80sd. Lib

Toolkitpro1321vc80su. Lib

Toolkitpro1321vc80sud. Lib

S indicates static, d Indicates debug, and u indicates Unicode,

// Three options are available during compilation.

A) as DLL

B) as static library, for using MFC as DLL

C) as static library, for using MFs as static library.

// I have selected B. Therefore, the above libs are generated: S. Lib, SD. Lib, Su. Lib, Sud. Lib.

// If C is selected), DS. Lib, DSD. Lib, DSU. Lib, and dsud. Lib are generated. // The preceding D indicates using MFC as DLL.

// If A is selected, "". dll, D. dll, U. dll, Ud. dll.

 

Assume that the Xtreme toolkit is installed in: C: program files.

For example, the following directory exists: C: Program filescodejock softwaremfcxtreme toolkitpro v13.2.1source

Modify the following settings in the project properties:

A) C/C ++ | General | add the "C: Program filescodejock softwaremfcxtreme toolkitpro v13.2.1source" to the include directory"

B) linker | General | additional library Directory: Add "C: Program filescodejock softwaremfcxtreme toolkitpro v13.2.1libvc80"

C) linker | input | ignore a specific library and add "libcd. lib ". If you follow the document, you also need to ignore more. I entered this first.

D) Resource | General | add the "C: Program filescodejock softwaremfcxtreme toolkitpro v13.2.1source" to the included directory"

Then, modify the Code as follows:

A) Add # include "xttoolkitpro. H" at the end of stdafx. h"

B) add # include "xttoolkitpro. RC" at the end of XX. RC2"

C) then add the inheritance relationship to the Declaration in mainfrm. h:

Class cmainframe: Public cxtpmdiframewnd

Then the compilation is successful.

Http://www.webui8.com/doc/3758 free

Install and compile Xtreme toolkit pro

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.