- Joined
- Nov 29, 2009
- Messages
- 116
- Reaction score
- 0
- Points
- 0
I really don't want to learn C++ . I am willing to learn Visual Basic. Is there a way to write the bulk of the code in Visual Basic and translate it into C++?
There is a way. If you know both Basic and C++, you can translate your code yourself from Visual Basic to C++.Is there a way to write the bulk of the code in Visual Basic and translate it into C++?
Can C# talk to C++ code more easily than VB?
This orbiter.net library looks great! Looking at the C# examples I can understand the source code! This will be easier than I thought.
Do I just compile the C# code to create a DLL library?
I wish there was a tutorial to walk me through it. I also wish there were more MFD examples, which is what I want to build.
But from what I can tell, I just write the MFD in C#, referencing the Orbiter libraries as needed, compile it, and make sure the orbiter.interfaces and orbiter.wrapper DLLs are included in the release.
Is it really as easy as all that? The garbage collection and other non-intuitive C++ parts will be handled automatically? Are there any catches, pitfalls, or limitations I need to look out for? Can I reference any orbiter method I want or is there only a few I can use, limited by the wrapper? Do I use the Orbiter API reference, or do I have to throw it out and use some (non-existant?) reference specific to orbiter.net? Why doesn't everyone do this? Why write in C++ at all for orbiter?