Archived issue #0028066
Samples - mfc ocaf sample could not read/save any document without environment variables
Description
Ocaf sample could not read/save any document without CSF_StandardDefaults/CSF_PluginDefaults environment variables (without files StdResource/Plugin and StdResource/Standard). It leads to exception.
Steps to reproduce
• Comment all environment variables in occt env.bat (see attached image)
• Run mfc Ocaf sample
• Try to read or write any document -> Exception
• Run mfc Ocaf sample
• Try to read or write any document -> Exception
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: abv
Date: Tue Nov 8 07:22:06 2016 +0300
0028066: Samples - mfc ocaf sample could not read/save any document without environment variables
Persistence libs are loaded using DefineFormat() in OCAF sample
[revision removed]
Detailed log of new commits:
Author: abv
Date: Tue Nov 8 07:22:06 2016 +0300
0028066: Samples - mfc ocaf sample could not read/save any document without environment variables
Persistence libs are loaded using DefineFormat() in OCAF sample
Fix pushed to CR28066, please revise and test
I have compiled occt branch CR28066 on my local station.
Mfc sample Ocaf works properly now.
Open,Save,SaveAs functionality works correct for .cbf/ .xml documents.
No testing required.
Please, proceed.
Mfc sample Ocaf works properly now.
Open,Save,SaveAs functionality works correct for .cbf/ .xml documents.
No testing required.
Please, proceed.
Tested in scope of CR0-IR-2016-11-08
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]