Modern C++
I'm generating a DynamicType and then a StructType from an xml file. The xml file is generated through reflection from some managed .NET classes. In my program I'm referencing the unmanaged RTI libraries from .NET managed C++. This seems to work fine. I print out the IDL to the console just to confirm that the IDL looks correct. Later in the code, I pass the StructType into a function that takes in a DynamicType. At this point I get an error like below. I suspect I'm doing something wrong when I generate the xml file for the message but I'm pretty green with all of this RTI stuff.
Here's the error I'm getting:
The XML file looks like this:
The IDL that I can print that is generated from that XML looks like this:
Any help would be fantastic. Thanks!