Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » why the ProfUISDLL can't be compile in Microsoft Visual C++ 2005? Collapse All
Subject Author Date
lu xiaosong Jun 13, 2007 - 9:35 AM

I use profuis270_freeware and my compiler is Microsoft Visual C++ 2005,

when compile the project ProfUISDLL the compiler crash and jump out a dialog "devenv.exe error!......"

but project ProfUISLib can compile successful.
my operator is windows XP professional.Why?

echo lu Jun 15, 2007 - 5:07 AM

It has been resolved.
Thank you. You are more quick than me.

Technical Support Jun 13, 2007 - 1:15 PM

The problem in question is known and it has to do with that your OS is one of the Asian versions of Windows, you are using Visual Studio 2005 and you compile a Unicode configuration of Prof-UIS. You can workaround the problem right now in this way:

1) Compile Prof-UIS on a machine where English Windows OS is running

OR

2) Change the OS language to English (Control Panel | Regional and Language Options | Advanced), compile Prof-UIS and then return the settings back.

Here is part of our reply we gave in our forum.
==========================================================
The problem occurs under the following conditions:

1) The OS is an East Asian Windows (e.g. Chinese) or 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).

2) Visual Studio 2005 with or without Service Pack 1.

3) Prof-UIS is compiled using a Unicode configuration (e.g. Unicode Debug or Unicode Release).

We suspect the problem is caused by a bug in the compiler of Visual Studio 2005: when compiling the string table resources of certain languages, the IDE crashes. At the moment it is caused by some strings in the .rc files with resources of the following languages: Czech, Lithuanian and Turkish. We have not yet tested it with Slovak that was recently added. So you can either compile Prof-UIS on an English Windows or exclude these languages from the resources. In the latter case, just open C:\Program Files\FOSS Software Inc\Prof-UIS\Include\Resources\resource.rc and comment out the above mentioned resources, for example:
/*
/////////////////////////////////////////////////////////////////////////////
// Czech resources

#ifndef __EXT_MFC_NO_RESOURCES_CZECH_DEFAULT

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CSY)
#ifdef _WIN32
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
#pragma code_page(1250)
#endif //_WIN32
#include "Resource_csy.rc"
#endif // Czech resources

#endif // __EXT_MFC_NO_RESOURCES_CZECH_DEFAULT

/////////////////////////////////////////////////////////////////////////////
*/