Has anyone seen this problem before?

I'm using the FileStreams library to open a .pdb file that I've 
generated using a pdb converter called makedoc.  When I attempt to open 
the file using FileOpen() I get error 0x1611: 
fileErrorInvalidDescriptor.  This strikes me as an odd error to get when 
calling FileOpen() since it is supposed to generate a file descriptor 
(FileHandle).  I have the Palm OS 4.0 source code for the FileOpen() 
function and it appears that after creating the file descriptor several 
checks are made at the bottom of the routine for file size, etc. and in 
a few of these cases if a problme is found it sets this error.  I am 
unable to compile this library code into my own application to see 
exactly where things are going wrong in the debugger because it includes 
a private "FileStreamPrv.h" file that is unavailable in my Palm OS 4.0 
source code.

I don't believe that the pdb converter is the issue as I have also tried 
to open a generic application file using FileOpen() and I get the same 
error.  My application is not interested in reading in the data as a 
database, it simply wants to read in raw chunks of data.  Making it into 
a .pdb seemed the easiest route for transferring it between my Palm 
device and my computer.  Is there some problem (conceptual or otherwise) 
with attempting to open .pdb files using FileOpen()?

Thanks,
Scott Schoen


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

Reply via email to