http://www.access-company.com/developers/documents/docs/palmos/PalmOSReference/FileStreaming.html#1041911
/************************************************** Heath Schaefer Product Engineer Sporlan Division, Parker Hannifin Corporation 636.239.7711 x243 **************************************************/ "caoer321" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 03/20/2008 10:11 AM Please respond to "Palm Developer Forum" <palm-dev-forum@news.palmos.com> To "Palm Developer Forum" <palm-dev-forum@news.palmos.com> cc Subject Re: How to open a file Yes, but what's the file stream? what do the 2nd and 3rd parameter mean? Where can I find the file? BR, 2008-03-20 caoer321 发件人: Luc Le Blanc 发送时间: 2008-03-20 22:53:20 收件人: Palm Developer Forum 抄送: 主题: re: How to open a file Vivian Chen wrote: > Err err; > FileHand h = FileOpen(0, "test.txt", 0, 0, fileModeReadWrite, &err); > It returns no error. And 'h' gets a handle of the file. > The file "test.txt" is not existed in the disk actually. > The 5th parameter shows that it would create a new file. > But I can't find the file on my disk. What disk? You're creating a RAM-based file stream. POSE can export any RAM file to the host computer. Dunno about Simulator. Luc Le Blanc -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/ -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/ ----------------------------------------- "PLEASE NOTE: The preceding information may be confidential or privileged. It only should be used or disseminated for the purpose of conducting business with Parker. If you are not an intended recipient, please notify the sender by replying to this message and then delete the information from your system. Thank you for your cooperation." -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/