I'm trying to save an OCAF document I have generated. Here an memory access exception raises.
The OCAF doc is OK - I've printed it out directly before saving it.
The save-command looks like this:
storeStatus = application->SaveAs(document, "C:/testfile.geometry");
Now the following functions are called directly before the error raises:
In Free() there is a line
*(Standard_Address*)aStorage = myFreeList[Index];
where the application crashes as myFreeList is NULL.
Has anyone any suggestion how to solve this problem?
Thanks a lot in advance !