星期五, 11月 09, 2007

profuis and vs2005 crash

We would like to add the following. At least 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
/////////////////////////////////////////////////////////////////////////////

星期四, 11月 01, 2007

[Programming] Make VS 2005 IDE like VC++ 6's

As a VC++ 6 programmer, I hate the default configure of VS 2005 IDE. Thus, I made some changes to the VS 2005 IDE to make me feel better.

1. Change the font of (TextEditor, Output Window, Find and Replace Window) to Fixedsys
[Option]->[Environment]->[Fonts and Color]->[Font]
2. Change the Window Layout to Multiple Documents.
[Option]->[General]->[Window Layout]
3. Config Class View
Uncheck [Show Base Types] and [Show Derived Types]

Now, it better. My Good OLD Days.