Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Xcode11.1
- 駐車場
- swift
- appleid
- Xcode
- safearea
- ventura
- NationalPetition
- 駐車場の場所
- error domain
- query cancelled
- code=13
- iOS13
- cerificate
- Xcode11
- ロールパーク
- nslocalizedDescription=query cancelled
- RollParking
- iPadOS
- ios
- swift4
- 스토리보드
- SceneDelegate
- 롤파킹
- localizing
- iOS12
- storyboard
- iPadOS13
- pan gesture
- iphone
Archives
- Today
- Total
HoonStyle
error C2440: 'static_cast' : 'void (__thiscall CDlgAlarms::* )(WPARAM,LPARAM)'에서 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'(으)로 변환할 수 없습니다. 본문
Programming
error C2440: 'static_cast' : 'void (__thiscall CDlgAlarms::* )(WPARAM,LPARAM)'에서 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'(으)로 변환할 수 없습니다.
HoonStyle 2012. 3. 13. 12:47Visual Studio 6.0 에서 2010으로 변환하는중 이런 에러가 발생하였다.
구글링 해 본 결과
아래는 ON_MESSAGE 의 정의.
구글링 해 본 결과
ON_MESSAGE(WM_U_DOCUMENT, OnDocument)
이것을
ON_MESSAGE(WM_U_DOCUMENT, (LRESULT(AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnDocument)
요런식으로 수정
아래는 ON_MESSAGE 의 정의.
#define ON_MESSAGE(message, memberFxn) \
{ message, 0, 0, 0, AfxSig_lwl, \
(AFX_PMSG)(AFX_PMSGW) \
(static_cast< LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM) > \
(memberFxn)) },
'Programming' 카테고리의 다른 글
[MFC]List Control 색 입히기 (0) | 2012.08.21 |
---|---|
FileTracker : error FTK1011 (0) | 2012.06.04 |
HTML TAG정리 (0) | 2011.03.27 |
Eclipse 줄번호 보이기 (0) | 2011.03.17 |
Android SDK 업데이트 (0) | 2011.03.17 |