embedding mono: how to pass c++ pointer to and from CLI?
sunsflower <[email protected]>
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <[email protected]> |
is there a way to pass a pointer to C# and pass it back to native functions? for example I have a newMesh function in c++ which returns a pointer to a Mesh class instance. How can I represent this pointer in C#? And if I have a drawMesh method in c++ as an internal call method, how can I pass the pointer I get in C# to this call of drawMesh? thanks! -- View this message in context: http://mono.1490590.n4.nabble.com/embedding-mono-how-to-pass-c-pointer-to-and-from-CLI-tp4667381.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list