Do I have to look at the resulting BinOcaf file with inspector ? or should I use something else. I created a simple model but I can not make heads or tails with inspector !!!
Many feilds that does not make sense at all.
Many feilds that does not make sense at all.
As soon as the issue stopped I wanted to get on with my model. So I did not dig deeper in to the issue.It looks a bit like some unsync issue. Have you stepped into the code again (to this CDF_StoreList or something) to see if it really is the "BinOcaf" that's being searched for?
Other than that, you can try setting up the binary driver with
Code:BinDrivers::DefineFormat(app);
once you have "app" as the Application. Maybe even just insert this code right into ActData_BaseModel. Something like this patch:
Code:Handle(TDocStd_Document) ActData_BaseModel::newDocument() { Handle(TDocStd_Document) aResDoc; BinDrivers::DefineFormat( ActData_Application::Instance() ); ActData_Application::Instance()->NewDocument(ACTBinFormat, aResDoc); return aResDoc; }
I haven't tried it, so let me know if it changes anything for you.