here's a snipplet of what i want to specify in my IDL:
typedef struct prop
{
wstring name
propCollection childProps;
} structA_TYPE;
typedef struct propCollection
{
sequence<prop> nProperties;
} propCollection_TYPE;
my C++ idl compiler is complaining that
propCollection childProps;
in the "prop struct" to be undefined. If i move the "propCollection struct" to be above the "prop struct" defination, the opposite will happen.
is there anyway to get around this?
typedef struct prop
{
wstring name
propCollection childProps;
} structA_TYPE;
typedef struct propCollection
{
sequence<prop> nProperties;
} propCollection_TYPE;
my C++ idl compiler is complaining that
propCollection childProps;
in the "prop struct" to be undefined. If i move the "propCollection struct" to be above the "prop struct" defination, the opposite will happen.
is there anyway to get around this?