Re: Where is my file? after I created a filestrem.

2003-06-05 Thread Aaron Ardiri
> "When the fileModeTemporary open mode is used and the file type passed to > FileOpen is 0, the FileOpen function uses sysFileTTemp (defined in > SystemMgr.rh) for the file type, as recommended. In future versions of Palm > OS, this configuration will enable the automatic cleanup of undeleted > te

RE: Where is my file? after I created a filestrem.

2003-06-05 Thread Sebastian Cancinos
-- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Aaron Ardiri Enviado el: martes, 03 de junio de 2003 5:29 Para: Palm Developer Forum Asunto: Re: Where is my file? after I created a filestrem. >> FileHand fileStream; >> fileStream = FileOpen( 0, "MyPalmFile&q

Re: Where is my file? after I created a filestrem.

2003-06-03 Thread Aaron Ardiri
>> FileHand fileStream; >> fileStream = FileOpen( 0, "MyPalmFile", 0, 0, fileModeReadWrite, NULL ); > > This creates a temporary file... > >> FileSeek (fileStream, 0, fileOriginBeginning ); >> FileWrite(fileStream, name, 1, 20, NULL); >> >> FileClose( fileStream ); > > ... and this deletes it.

Re: Where is my file? after I created a filestrem.

2003-06-03 Thread Philip Sheard
> I am using Palm OS 5, I try to create a file stream, the code as following > FileHand fileStream; > fileStream = FileOpen( 0, "MyPalmFile", 0, 0, fileModeReadWrite, NULL ); This creates a temporary file... > FileSeek (fileStream, 0, fileOriginBeginning ); > FileWrite(fileStream, name, 1, 20,

Re: Where is my file? after I created a filestrem.

2003-06-03 Thread Aaron Ardiri
> I am using Palm OS 5, I try to create a file stream, the code as following > > ... > FileHand fileStream; > fileStream = FileOpen( 0, "MyPalmFile", 0, 0, fileModeReadWrite, NULL ); > > FileSeek (fileStream, 0, fileOriginBeginning ); > FileWrite(fileStream, name, 1, 20, NULL); > > FileClose(