if u know the creator id of the database then u can find the local id by DmGetNextDatabaseByTypeCreator and it will give u the local id of the database whose creator id u give. But for this u must know the creator id of that application. and 4 phone application creator is 'phop'and type is 'panl' and 4 messaging application means sms application creator 'smsm' and type 'appl' and 4 mail application creator is 'mail' and type 'appl' But it may be possible u not find the mail application in the simulator but in the emulator it is .
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
