Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

OCAFStdApp problem in version 6.5.4

OCAFStdApp problem in version 6.5.4
Chanaka Mallikarachchi 2013/01/06 17:46
I have an application using OCAF which has been working fine with version 6.5.3. However, once I upgraded to version 6.5.4 both
PCDM_ReaderStatus status = ocafStdApp->Open(path,ocafStdDoc); and
ocafStdApp->SaveAs(ocafStdDoc,occPath,err);

lines result in a crash of the program.

ocafStdApp is from AppStdApplication. (static Handle(AppStd_Application) ocafStdApp = NULL);
ocafStdApp = new AppStd_Application(); works without a problem, so that I can create a new file. Saving is the problem.
ocafStdDoc is from TDocStd_Document class. Note that all this works perfectly in 6.5.3.

Any ideas? I couldn't find any changes in 6.5.4 documentation. Please help.
 
 
Latest news
  • OCCT Applications
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map