I am using C++ .NET on WinXP to create a small GUI application for a group project. (I chose C++ .NET for ease of GUI creation.) My partners have written a tree class in C++. I have added the file to the project, but now I am stuck. I can't figure out how to pass managed objects to the unmanaged tree. I made a struct to be stored in the tree. The struct definition is:
Expand|Select|Wrap|Line Numbers
- ref struct SoftwarePackage
- {
- String^ id;
- String^ name;
- String^ version;
- String^ quantity;
- String^ price;
- };
Expand|Select|Wrap|Line Numbers
- MDBST<SoftwarePackage> tree;
Any help would be greatly appreciated.
Thanks,
Kenneth