O
optimist
and I can't see what's wrong. The assertion is on line 4103 of atlcom.h and
is:
"m_dwEventCookie == 0xFEFEFEFE" and appears each time a NewInspector event
should get fired (but doesn't). I noticed that if I changed my ATL_FUNC_INFO
parameter to the SINK_ENTRY_INFO() call from
_ATL_FUNC_INFO OnSimpleEventInfo ={CC_STDCALL,VT_EMPTY,0};
to
_ATL_FUNC_INFO OnNewInspectorInfo ={CC_STDCALL,VT_EMPTY,1,{VT_DISPATCH}};
That it changed the debug assertion to the one above, from
"pdispparams->cArgs == (UINT)info.nParams" on line 4048 of atlcom.h.
But that was just copying someone else's code, which is mostly what I've
been doing all through this project...
Any pointers are much appreciated.
is:
"m_dwEventCookie == 0xFEFEFEFE" and appears each time a NewInspector event
should get fired (but doesn't). I noticed that if I changed my ATL_FUNC_INFO
parameter to the SINK_ENTRY_INFO() call from
_ATL_FUNC_INFO OnSimpleEventInfo ={CC_STDCALL,VT_EMPTY,0};
to
_ATL_FUNC_INFO OnNewInspectorInfo ={CC_STDCALL,VT_EMPTY,1,{VT_DISPATCH}};
That it changed the debug assertion to the one above, from
"pdispparams->cArgs == (UINT)info.nParams" on line 4048 of atlcom.h.
But that was just copying someone else's code, which is mostly what I've
been doing all through this project...
Any pointers are much appreciated.