|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Jia Hong Li
|
Jul 9, 2007 - 11:00 AM
|
If I set "Trandition Chinese" in Non-Unicode of Region and language, and build the project using ProfUIS library, and VS2005 will crash.
I post this problem before.
ProfUIS will never fix this problem ?
|
|
Technical Support
|
Jul 9, 2007 - 12:00 PM
|
As we said earlier this problem is caused by a bug in the Visual Studio 2005 C++ compiler, when the resources of some languages (i.e. Czech, Lithuanian and Turkish) cause Visual Studio 2005 to crash when you compile Prof-UIS using a Unicode configuration on an East Asian Windows (e.g. Chinese) or on an English Windows but with an East Asian language set as the language for non-Unicode programs (in the Windows Regional and Language Options dialog). In other words, you have a very ordinary resource file. You try to compile this file in VS 2005 under the above mentioned conditions and VS 2005 crashes.
You can easily workaround this problem by compiling Prof-UIS on an English OS or by temporarily switching to the English locale: Change the OS language to English (Control Panel | Regional and Language Options | Advanced), compile Prof-UIS and then return the settings back. Or you can simply exclude those resources and the problem will be gone.
We are interested in your opinion. We can fix this issue by providing the precompiled resources (with the installer) so that you will not have to compile these resources yourself. In this cases, Visual Studio will compile these resources and the problem will be gone. What do you think?
|
|
Jia Hong Li
|
Jul 9, 2007 - 2:34 PM
|
|
|
Technical Support
|
Jul 10, 2007 - 12:31 PM
|
Please download it and unpack it into the ../Prof-UIS/ProfUISDLL/ folder. This ZIP file contains a ProfUISDLL.res file (compiled Prof-UIS resources) and the updated version of the ProfUISDLL_800.vcproj project, which is to the original one but it includes a reference to the ProfUISDLL.res file instead of the ProfUISDLL.rc2 file.
After this update you should be able to re-build any configuration of the ProfUISDLL project and your projects successfully.
|
|