Page 1 of 1

MFC example

Posted: Mon May 13, 2013 12:20 pm
by weifeng0715
Hi, everyone. I am a new hand here.
I want to know whether it is possible to report the streaming data (coordinates of each marker and position of trackables) into a MFC user interface? All the examples are console example.

Thanks.

Re: MFC example

Posted: Wed May 15, 2013 2:10 pm
by weifeng0715
Ok, Now that replies. I would ask another question: is "SampleClient3D" an example of MFC? Thanks.

Re: MFC example

Posted: Wed May 15, 2013 2:39 pm
by morgan
SampleClient3D is a Win32 example. You can use this as a basis for your MFC Application - the process is the same.

The NatNet SDK also contains WinForms sample, which is a .NET / Windows forms application.

hope this helps,

Morgan

Re: MFC example

Posted: Tue Jun 11, 2013 8:08 pm
by weifeng0715
[quote=NaturalPoint - Morgan]SampleClient3D is a Win32 example. You can use this as a basis for your MFC Application - the process is the same.

The NatNet SDK also contains WinForms sample, which is a .NET / Windows forms application.

hope this helps,

Morgan
[/quote]

Could you give me a hint on how to move the DataHandler function to MFC? Thanks.
I have the following error every time:
error C3867: 'CMFCDisplayView::MessageHandler': function call missing argument list; use '&CMFCDisplayView::MessageHandler' to create a pointer to member