I try,
Err err
fileHandle = FileOpen(0, "game0", CreatorId,
CreatorId, fileModeReadOnly, err);
Then, i try to purposely open a file that doesn't
exsit in the system and calling the error checking
code.
// check for error code, but won't work
if(err == fileErrCreateError)
{
}
// this also won't work? why?
if((err & fileErrCreateError) == fileErrCreateError)
{
}
thank you.
regards
yccheok
p/s how can i reply a specific message thread through
e-mail. any special command for that ?
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/