Beginner Ultimate Toolbox, problem handling

Source: Internet
Author: User

The use of the original VC6,MFC version of the interface is not beautiful, because the project needs to the software interface packaging, in the forum to see the industry recommended Ultimate Toolbox, immediately to CodeProject

Http://www.codeproject.com/KB/MFC/UltimateToolbox.aspx down three compressed files, see the following describes the toolbox can save developers a lot of time, and is now open source, feel excited. But in recent days has not had time to study, today finally can begin to learn this great interface beautification Toolbox.

According to the manual, the first step to the JPEG compilation is no problem, the second step to compile the Utstaticlib 107 errors occurred, a compile error file:

OXHTMLParser.cpp
OXParser.cpp
OXPhysicalEditEx.cpp
OXQuickString.cpp

The reason for the error is the article said that the string is not paired with quotes, in fact, because Ultimate Toolbox source files are WINDOWS-1252 encoded, and the file contains code is 0xa0 characters, these characters can not be in the Chinese operating system under the VC + + editor normal display. For reference blog http://www.qingfengju.com/article.asp?id=231, I take the solution:

Change the language for non-Unicode programs in the Start-Control panel-Regional and Language options to English-United States. Recompile, all through. Of course, when you compile the previous development program may be due to modify this reason, the original no problem of the program will complain, then need the same steps, change back to "Chinese-China." Therefore, it is recommended that after compiling the utstaticlib, restore the system's regional and language options.

In addition, VC + + header file in "Wabtags." H "There is also this problem.

After downloading Ultimate Toolbox, unzip several compressed packets to the same directory, or you will be prompted to not find the utsampleabout.rc when you compile the sample program

The directory structure is as follows:
+ultimate Toolbox
-problems.txt
+ultimate Toolbox
-archive
-include
-lib
-samples
-source
-license.htm
-changehistory.htm
+utbx93.chm

HTTP://BLOG.CSDN.NET/HUOREXIAJI/ARTICLE/DETAILS/6234255 is not successful according to Huorexiaji configuration. By personal practice, the following steps are required to configure Ultimate Toolbox under VC6:

1, in the VC compiler environment, tools-options-directories-show directories for select Include files, UT include absolute path includes, such as C:\PROGRAM files\ MICROSOFT VISUAL studio\vc98\ultimate toolbox\include;

2, in the VC compiler environment, tools-options-directories-show directories for Select libraries files, UT libs absolute path including, such as C:\PROGRAM files\ MICROSOFT VISUAL studio\vc98\ultimate toolbox\lib\libs;

3, in the VC compiler environment, tools-options-directories-show directories for select source files, UT source absolute path includes, such as C:\PROGRAM files\ MICROSOFT VISUAL studio\vc98\ultimate Toolbox\source;

In the third step, add the following line to the end of your project StdAfx.h:

#include "UTStaticLib.h"

The fourth step, in your engineering resources including resource include, add

#include "oxmain.rc"

The final important step is to include the CPP or H files that will be used for the UT class in your project. There is also the most important point, in the resource inclusion to the #pragma code_page (936) into the #pragma code_page (1252), this is because the resources in UT is the United States, so can not use the Chinese code page.

Such as:

#include "OXHashTable.h"

...

Coxhashtable myhashtable;

...

Leave so much for the time being, for the same problem of the package and own later reference ...

PS: After practice, configure UT in the project file, after step one or two, you can skip step three or four (because I did not succeed in step three or four of the Help document), and find the. cpp and. h of the source file, copy it to the project directory, and include the files that will be used in the project so that you can perform successfully. Even with the third method of the Help document.

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.