Problem defining event handlers |
Post Reply |
Author | |
davidbeane
Newbie Joined: 12 June 2007 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 12 June 2007 at 4:56pm |
Using 10.4.2
In my view header: CXTPCalendarControl mCalendar; DECLARE_XTP_SINK(CInspectorOnlyView, m_Sink); void OnEvent_Calendar(XTP_NOTIFY_CODE Event, WPARAM wParam, LPARAM lParam); In my view's OnInitialUpdate(): CXTPNotifyConnection* pCalendarConn = mCalendar.GetConnection(); if(pCalendarConn) { m_Sink.Advise(pCalendarConn, XTP_NC_CALENDARLBUTTONDBLCLICK, &CInspectorOnlyView::OnEvent_Calendar); } In the code for the Advise function, in CMapNotifyCodeToHandler::SetAt(), the following ASSERT fires: ASSERT(sizeof(T_pfHandler) == sizeof(void*)); I ignore it, then when my OnEvent_Calendar() function is called, all my view class members, such as mCalendar, are porked. Any ideas? |
|
davidbeane
Newbie Joined: 12 June 2007 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
This issue is fixed in 11.1.3.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |