WIP C++ samples SampleUserInterface

Hi Dale,
I’ve literally just downloaded and installed:
rhino_en-us_6.0.17178.04271
rh60sdk_6.0.17178.04271
Along with your samples from https://github.com/mcneel/rhino-developer-samples

I’m specifically interested in the UserInterface sample however I’m getting argument errors. There are lots of dialog functions missing a RhinoDoc&.

What is out of date? my version of WIP or the samples?

Thanks
Tristan

The samples target Rhino 5, and with the WIP version there are many breaking changes in the public API of Rhino. You seem to have found some :slight_smile: . You may have more luck here http://developer.rhino3d.com/wip/samples/#cpp

Make sure you check the WIP branch of the samples repository: https://github.com/mcneel/rhino-developer-samples/tree/wip

oops i gave the wrong link, I did mean…
https://github.com/mcneel/rhino-developer-samples/tree/wip/cpp/SampleUserInterface

So the question still stands. What is out of date, my version of WIP or the samples?

The panel code has seen some extensive changes, an operation conducted by @andy. My guess is that the samples in this area have not been updated to reflect the API changes.

Thanks for clarifying. The API changes appear pretty trivial so should be able to get them to working without too much bother. They have been a great help.