새소식

작성중

[mfc] 함수 이름 출력

  • -

개인 기록용으로 남깁니다.

if (1) { 
  CString strDebug; 
  strDebug.Format("__FUNCTION__:%s, __FUNCDNAME__:%s, __FUNCSIG__:%s", __FUNCTION__, __FUNCDNAME__, __FUNCSIG__); 
  AfxMessageBox(strDebug); 
}

결과는 다음과 같습니다.

__FUNCTION__:CMainFrame::CreateSharedMemory,

__FUNCDNAME__:?CreateSharedMemory@CMainFrame@@IAEHXZ,

__FUNCSIG__:int __thiscall CMainFrame::CreateSharedMemory(void)

'작성중' 카테고리의 다른 글

가산동 방문한 장소 기록  (0) 2019.01.14
Voyager 리눅스 설치  (0) 2015.04.06
fcitx problem  (0) 2015.03.10
수정 필요 - IPv6 주소  (0) 2014.02.06
L4 프로토콜 헤더 포맷  (0) 2014.02.04
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.