참고 문서
https://forum.codejock.com/toolkit-compilation-fails-under-vs17-12-1_topic24527.html?KW=xtpmarkup
Toolkit compilation fails under VS17.12.1
Hello, This was a known issue and it's been fixed already for the next maintenance release. All users who contacted support have received the patch, I'll publish it here so you don't wait for the new version: \Source\Markup\XTPMarkupBuilder.cpp(1005):
forum.codejock.com
오류 메세지
---------------------------------------------------------------------------
[deploy wizard 실행시 발생한 오류]
IMPORTANT: If your Visual Studio environment crashed during the build, try
disabling all of your addins and try again. To disable addins:
1. Start Visual Studio
2. Go to Tools/Add-in Manager
3. Uncheck all the checkboxes in the Startup column
[vs 솔루션 실행시 발생한 오류]
'LPCWSTR NormalizeXmlContentText(LPCWSTR,CArray<WCHAR,WCHAR> &,int,BOOL,BOOL)':
인수 4을(를) 'XTPXML::IXMLDOMNodePtr'에서 'BOOL'(으)로 변환할 수 없습니다.
해결 방법
아래 경로에 있는 파일에서 950 라인 근처의 lpszContent의 초기화 부분을 아래 코드로 변경합니다
\Source\Markup\XTPMarkupBuilder.cpp(950Line 근처):
lpszContent = NormalizeXmlContentText(lpszContent, textBuffer,
XTPToIntChecked(nodeText.length()),
NULL != pContent->previousSibling,
NULL != pContent->nextSibling);
정확한 원인은 모르나 vs의 버전이 업데이트 되면서 생긴 문제가 아닌가 합니다.
해당 코드를 변경 후 솔루션을 빌드 하거나 deploy 마법사를 실행시키면 lib폴더 안에 라이브러리 파일들이 생성됩니다.

'개발툴 > MFC' 카테고리의 다른 글
| [Codejock Toolkit Pro] Skin Builder 사용하기 (0) | 2026.01.18 |
|---|
댓글