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 » Can't build V2.60 in VS2005 Collapse All
Subject Author Date
leedy leedy Jun 6, 2007 - 8:26 PM

hi,
i can’t build v2.60 library in vc8. During building ProfUISDLL project, the visual studio crashed.
Debug it , and see call stack , "msvcr80.dll" has some problem.

is there anyone, who ever had the same problem, please help me!

Thanks!

Technical Support Jun 7, 2007 - 11:03 AM

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

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