Hi,
I have reading the value of the element <init_from> using this code snippet:
domFx_surface_commonRef surface;
//Surface initialized here...
const domFx_surface_init_commonRef surfaceInit = surface->getFx_surface_init_common();
if (surfaceInit)
{
const daeElementRefArray& initContent = surfaceInit->getContents();
for (Uint32 index=0; index < initContent.getCount(); ++index)
{
daeElement* element = initContent[index];
//element has been verified non-null
if (element->hasCharData())
{
const char* data = element->getCharData().c_str();
...
}
}
}
This code keeps throwing an access violation on call to getCharData(). Please advise.
Thanks,