
Thu, 06/30/2005 - 18:19
Forums:
Hi all,
I get an access violation on the last line of that source code :
STEPCAFControl_Reader _reader;
_reader.ReadFile ((Standard_CString)filename.c_str());
Handle(TDocStd_Document) Doc;
_reader.Transfer ( Doc ) ;
What's wrong ?
Thu, 11/08/2007 - 14:51
You need to instantiate the object Doc .
new TDocStd_Document("...")
HTH
Ajesh