delphi部分代码实现:
procedure notice();cdecl;stdcallC++部分定义:
typedef void (*NoticeMethed)();
//设置回调函数
DllExport int SetNotic(int winId,NoticeMethed method)
{
CBaseQuote* ptr = CQuoteMgr::GetInstance(); log(LL_ERROR,"DllExportNotice SetNotic Methed is 0x%x!\n",method);
ptr->SetNotic(winId,method);

return 0;
}
c++ SetNotic函数把method赋值给m_noticebackC++使用m_noticeback()报错这是什么原因,求大神解答,谢谢