2011년 9월 20일 화요일

[ MFC > 리소스 언어 설정 ] 중국어로 변경

1. [PrjectName].rc (프로젝트 리소스 파일) 파일을 연다.

2. 언어 설정 관련 부분을 아래와 같이 고쳐 줍니다.

3. 프로젝트 전체 재컴파일해 줍니다.


[ 중국어 설정 ]
....

#if !defined(AFX_RESOURCE_DLL) defined(AFX_TARG_KOR)
#ifdef _WIN32
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
#pragma code_page(949)
#endif //_WIN32

....

3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) defined(AFX_TARG_KOR)\r\n"
"#ifdef _WIN32\r\n"
"LANGUAGE 18,1\r\n"
"#pragma code_page(949)\r\n"
"#endif //_WIN32\r\n"
"#include ""res\\LinkEmul.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""l.kor\\afxres.rc"" // Standard components\r\n"
"#include ""l.kor\\afxprint.rc"" // printing/print preview resources\r\n"
"#endif\r\n"
"\0"
END

....



[ 중국어 설정 ]
....

#if !defined(AFX_RESOURCE_DLL) defined(AFX_TARG_CHS)
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
#endif //_WIN32

....

3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) defined(AFX_TARG_CHS)\r\n"
"#ifdef _WIN32\r\n"
"LANGUAGE 4,2\r\n"
"#pragma code_page(936)\r\n"
"#endif //_WIN32\r\n"
"#include ""res\\LinkEmul.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""l.kor\\afxres.rc"" // Standard components\r\n"
"#include ""l.kor\\afxprint.rc"" // printing/print preview resources\r\n"
"#endif\r\n"
"\0"
END

....


< 참고 싸이트 >
http://cafe.naver.com/mbox32.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=17&

2011년 9월 18일 일요일

[MAT 중국어 버젼 컴파일] 중국어 깨짐 현상 / 일부 리소스 언어 설정 변경

1. 현상
Visual Studio 상에 리소스 메뉴의 중국어가 출력되지만 컴파일된 프로그램는 중국어가 깨져서 ??로 출력되는 현상

2. 원인
메뉴 리소소의 언어 속성이 한국어로 설정되어 있었기 때문에

3. 해결방법
메뉴 리소스의 언어 속성을 중국어로 설정해줍니다

[중국어 버젼 MAT 컴파일] msxml4.dll 찾을 수 없는 오류

1. 문제 현상
MAT를 컴파일 시 msxml4.dll을 찾을 수 없다는 오류 메세지

2. 원인
중국어 버젼 Windows XP 설치 시 Windows\System32 폴더 내 msxml4.dll이 위치되어 있지 않아서 생긴 문제

3. 해결 방법
한국어 버젼 Windows XP에서 msxml4.dll을 복사하여 Windows/System32 폴더에 복사해 주면 문제가 해결 됨

2011년 9월 16일 금요일

[MAT 컴파일] MAT 소스 컴파일 시 유의사항

1. Visual Studio Service Pack1을 설치해야 합니다.

2. lgImaged.dll 파일을 Debug 폴더에 복사

3. Debuger로 레포트를 보기위해서는 XSL 폴더를 Debug 폴더에 복사

4. Skin 폴더를 Debug 폴더에 복사

2010년 6월 20일 일요일

2009년 5월 21일 목요일