With the caveat of asking a stupid question... I wanted get some comments / thoughts / advice about merging C# and C++; or porting C# code over to C++
I've developed a C# WinForms program, and as it turns out, a bunch of users want to, or already do use it on OSX via Wine. For various other / future projects, I'm interested in learning C++ and the
Juce library.
At present there is only two main issues with the OSX/Wine scenario:
a) Graphics: Because it seems Wine doesn't handle drawing
(Some drawings come out blocky) and transparency
(e.g. a transparent label doesn't seem to work at all)
b) Native OSX: As some people want that, rather then being forced to use Wine.
Obviously I can tinker a bit in C#, but my C++ is extremely low / non existent, and I'm under no illusions that it would be a fairly hefty sized job, for little benefit given the above, which I should be able to work around, but given more long term plans, that is perfectly fine.
However, in some ways I feel it would be a good excerise, as I would be working off a known base / my existing code. Flipside there is there is a lot of gui elements, all customised controls, fairly convulted/heirachal classes, lots of xml, and so forth.
So I would basically be recreating the UI/UX from sratch. I've been looking at creating C# dlls to call from C++, but that seems like maybe more hassle then its worth?
So I'm trying to weigh up what the various options available are, and what would be the best plan overall. And given that this doesn't
*need* to be done, but would be a nice to have to leverage off C++/Juce for the GUI, cross-platform, and skill set benefits...
- C++ GUI with C# dlls?
(Core engine ported over)
- Just learn C++ and rewrite from scratch?
- Not stress about it / too much hassle and learn C++ with
"new" projects?