It would probably be better to use a .cpp wrapper.
You can have the wrapper return a pointer to the C++ object, which you can later use to pass back and do stuff with.
Remember, if you create a C++ object with "new", you may also need to "delete" it later.
:o)
You can have the wrapper return a pointer to the C++ object, which you can later use to pass back and do stuff with.
Remember, if you create a C++ object with "new", you may also need to "delete" it later.
:o)