I have made C++ code for an object that models a game I want to make. Being new to visual studio (2010 express) I created a GUI as a new CLR forms application, but now I can't work out how to connect the two together!
Say I create an instance of my game class in the application main(), how do I pass this instance in to Application::Run(gcnew Form1()); that the wizards created for me so that the event handlers of the form controls can manipulate it?
Note: eventually I will want to have multiple views of this same object (multi-player game) and some will be remote... but I'll cross that bridge if and when I get to it...
Thanks in advance for all helpful pointers and suggestions ;)
~~~ PEr aRDUa ad asTrA ~~~ (through adversity to the stars)