728x90
반응형
함수의 완료 상태(오류나 경고)를 설명하는 데 사용되는 32비트 값
1. 필요 헤더 파일
#include <system_error>
2. 소스 코드
std::string message = std::system_category().message(hr)
CString sMsg(message.c_str());
더보기
https://learn.microsoft.com/en-us/previous-versions/bb446131(v=msdn.10)?redirectedfrom=MSDN
HRESULT
Table of contents HRESULT Article 11/18/2015 In this article --> 4/8/2010 The HRESULT data type is a 32-bit value is used to describe an error or warning. Note Most MAPI methods and functions return HRESULT values to provide detailed result information. HR
learn.microsoft.com
728x90
반응형
'Programming > C++, MFC' 카테고리의 다른 글
C++, MFC。소요 시간 측정(time()) (0) | 2024.03.29 |
---|---|
C++, MFC。현재 프로그램 실행 경로(GetModuleFileName) (0) | 2024.03.27 |
C++, MFC。다이얼로그 영역 외 마우스 이벤트 추적(SetCapture, GetCapture, ReleaseCapture) (0) | 2023.06.27 |
C++, MFC。다이얼로그(Dialog) 투명화 (0) | 2023.06.26 |
C++, MFC。파일 선택(단일, 다중), 폴더 선택 (0) | 2023.06.25 |