I just switched my code from 6.2 to 6.3. In my old code, I was using Interface_Tracefile to set a log file for importing/exporting IGES & STEP files. The code was similar to this:
Interface_TraceFile::SetDefault(2, cLogFile, Standard_False);
Unfortuntely, Interface_TraceFile was removed in OCC 6.3 (actually 6.2.1). The nearest replacement I could find is:
filePrinter = new Message_PrinterOStream(cLogFile, Standard_False, Message_Info);
Handle(Message_Messenger) msgr = Message::DefaultMessenger();
This causes the file to be created, but none of the messages are written (the file remains empty).
Any help would be greatly appreciated.