> did you reset the emulator after instaling HostFS?

I hadn't done that (forehead meet palm :-) ...

lets start counting how many times you do this :)

in C:\Temp\test.txt and then use:
Err rc = VFSFileOpen(gVolRefNum, "test.txt", vfsModeRead, &fileRef);

maybe, "/test.txt" (if C:\Temp is your HostFS directory)

you need to specify the complete path when opening a file with VFSFileOpen

I also tried just the filename "test" and putting this file in a
variety of subdirectories, including:
C:\Temp\PALM\
C:\Temp\PALM\Launcher

did you try:

"/Palm/test.txt"
"/Palm/Launcher/test.txt")

(PALM and PALM\Launcher subdirectories were created while VfsTest was
running)

well, thats because palmos creates these on all memory cards when inserted.

--
// Aaron Ardiri

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

Reply via email to