I'm at a complete loss. I want to store a pointer to a managed object within an unmanged class (perhaps as an int, or void *, whatever) and then cast it back to the managed class at a later date. I simply don't have a bleeding clue how though.
Advertisement
Latest Entries
Old Code
4352 views
Chamois - Fluent Assertion Syntax for C++
5803 views
On C++ Naming Conventions
12926 views
First version of FlatBuffers in .NET
3912 views
FlatBuffers in .NET
11060 views
Porting Accidental Noise Library to .NET
5630 views
Cloudy Requests
1973 views
Advertisement
the problem is, while you can go from managed to unmanaged, you cant go from unmanaged to managed, unless you build infrastructure to facilitate the join.
i've found it best to design around it if you can, otherwise, baring some special tricks youll need an association table i think.