I'm using a fairly standard technique of exporting data from my application to
the Palm's Memo Pad. Is it safe to assume this technique will work on the
Visor? A user is reporting that my app cannot open the memo pad database on
her Visor. My Palm users report no problems. Here's the code fragment:
[snip...]
DmGetNextDatabaseByTypeCreator (true, &searchState, NULL,
'memo', true, &cardNo, &memoDBID);
ErrFatalDisplayIf (memoDBID == 0,"MemoDB not found");
refMemoDB = DmOpenDatabase (cardNo, memoDBID, dmModeReadWrite);
if (refMemoDB == 0)
{
err = DmGetLastErr();
ErrDisplay ("Unable to open MemoDB"); // fails here
}
[snip...]
Thanks,
Michael Yam
www.ytechnology.com
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html