Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
After the migration of an ARX project to AutoCAD 2019, I get the following compilation error:
error C2664: 'bool acedRemoveFilterWinMsg(const AcedFilterWinMsgFn)': cannot convert argument 1 from 'const AcedFilterWinMsgFn (__cdecl *)(MSG *)' to 'const AcedFilterWinMsgFn'.
I get that same error with the following methods:
acedRegisterFilterWinMsg ( const AcedFilterWinMsgFn pfn )
acedRemoveFilterWinMsg ( const AcedFilterWinMsgFn pfn )
acedRegisterWatchWinMsg ( const AcedFilterWinMsgFn pfn )
my hook function is declared like these:
const AcedFilterWinMsgFn MouseHook (MSG *pMsg)
{
...
}
what's wrong?
Thanks in advance
Solved! Go to Solution.