Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

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

4: Adsense

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.


  • You cannot reply to this topic
No replies to this topic

#1 mrheisenberg   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;

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






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.