I��m now developing a telephone manager application, I choose palm os5
simulator as debug tool.

The below is my routine:

1 SysLibLoad(kTelMgrDatabaseType,kTelMgrDatabaseCreator, telRefNumP);

  the returned err=0(successful);

2 err = TelOpen(*telRefNumP, kTelMgrVersion, telAppIdP);

  the returned err=0(successful);

3 err = TelIsPhbAddEntrySupported(telRefNum,telAppId,NULL);

t the returned err =0(successful);

4 err = TelPhbAddEntry(telRefNum, telAppId, &entry, NULL) ;

 The returned err =0x2F0C(unsuccessful)



#define  telErrorClass          0x2F00

telErrPhoneComm       (telErrorClass | 0x0C)    the communication link with
the phone is down

the two macros defined in TelephonyMgrTypes.h



How to solve the question? Thanks in advance.




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

Reply via email to