So I am working on an application that runs on openframeworks. Because we are working with arduino’s and might want to implement some other stuff like kinect in the future. I am trying to implement the System.Windows.Forms namespace for using openfiledialog : https://msdn.microsoft.com/en-us/library/sfezx97z(v=vs.110).aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-1
Because I want to be able to save stuff to a file from my application. But to be able to use the System namespace I need to set the Common Language Runtime support to /clr. and then I need to add System.Windows.Forms as a reference. But if I do this the whole application will be full of errors when building. Is this not possible in combination with openFrameworks? Or does anyone know what I can do to fix this.
Thanks for any help!
Here is a screenshot from some of the errors. Which do only appear when using /clr. Otherwise it is all working perfectly.