Question about MJP's SampleFramework11(the Msg/Dlg-Function types)

Started by
-1 comments, last by mrheisenberg 11 years, 3 months ago

Hi,I added some functionality from the Window class in SampleFramework11 from the MSAAFilter sample from here: http://mynameismjp.wordpress.com/ ,I didn't alter much from the original code,other than the style,but when I build I get a Error 13 error C2064: term does not evaluate to a function taking 4 arguments c:\program files (x86)\microsoft visual studio 11.0\vc\include\xrefwrap 431 error,I think it's related to the:


typedef std::tr1::function<LRESULT (HWND, UINT, WPARAM, LPARAM)> MsgFunction;
typedef std::tr1::function<INT_PTR (HWND, UINT, WPARAM, LPARAM)> DlgFunction;

but I didn't find absolutely anything that could help me about this kind of error in Google,if someone has had such a problem with the tr1::function,please share

This topic is closed to new replies.

Advertisement