THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/12/2003 at 16:12, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.206
Platform: Windows ;
Language(s) : C++ ;
---------
Hi, this code crashes cinema4d and I don't see why
Bool OK=FALSE;
Filename File;
BaseFile *ExportFilename=NULL;
// Show FileSelect dialog
if(!File.FileSelect(FSTYPE_ANYTHING,GE_SAVE,NULL))
{
MessageDialog("Export Cancelled");
return FALSE;
}
// Set mouse cursor to a busy sign
GeShowMouse(MOUSE_BUSY);
GePrint("Before Open");
// Open file for exporting
OK = ExportFilename->Open(File, GE_WRITE);
GePrint("After Open");
it crashes on the ExportFilename->Open line
What am I doing wrong?