• Create Account

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

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

No replies to this topic

### #1mrheisenberg  Members

360
Like
1Likes
Like

Posted 12 January 2013 - 11:00 PM

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;