#include <Standard_ConstructionError.hxx>
+#include <NCollection_DataMap.hxx>
+
#ifdef WNT
#include <windows.h>
#else
return 0;
// load plugin library
- LibHandle anExportLib = LoadLib( aLibName.ToCString() );
+ LibHandle anExportLib = LoadLib( aLibName.ToCString() ); //This is workaround of BUG OCC13051
funcPoint fp = 0;
if ( anExportLib )
fp = (funcPoint)GetProc( anExportLib, "Export" );
int res = fp( aShape, aFileName, aFormatName );
// unload plugin library
- UnLoadLib( anExportLib );
+ // commented by enk:
+ // the bug was occured: using ACIS Import/Export plugin
+ // UnLoadLib( anExportLib );
+
if ( res )
log.SetTouched(Label());