generally vfs is not too happy to do that. filestreaming can do that,
though. perhaps consider using that?

On 1/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,

I just started learning Palm programming about 2 months ago, as I've been 
working on an app for my Treo.  So apologies if this is an obvious question.

I'm wondering if anyone can recommend a way to open files for non-exclusive 
write access.  If I just set the openMode to 0x0004U ( vfsModeWrite = 0x0004U | 
vfsModeExclusive), that seems to work OK in the Treo 650 Simulator but fails on 
my actual Treo 650.

The reason I want non-exclusive write is so that I can download a file from a 
server and starting reading the file before the download is complete.  
Specifically, I'm trying to download an audio file and play it back once enough 
of it has downloaded (which happens on a separate thread).

Any tips would be helpful.

thanks,
nikhil
--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/



--
Best Regards, Dmitry Grinberg
Software Engineer, http://PalmPowerups.com
(847) 226 9295
AIM: DmitryGrinberg
MSN: [EMAIL PROTECTED]
ICQ: 165589894
Y! IM: dmitrygr2003

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to