> "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
--
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
>> 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.
> 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,
> 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(