|
 |
"A Complete Mobile Application Development Environment" |
|
 |
|
|

|
Re:Can anybody tell me what I should do to read up to (1 viewing)
Favoured: 0
|
|
|
TOPIC: Re:Can anybody tell me what I should do to read up to
|
|
|
|
Can anybody tell me what I should do to read up to 2008/10/07 21:15
|
Karma: 0  
|
|
I'm trying to load a memo from my custom app and I'm only reading 4096 bytes (while the memo is larger) The code is as follows
char* recordP; MemHandle recordH;
recordH = DmQueryRecord(dbP, recordNum);
recordP = MemHandleLock(recordH);
I know about the memo limitation in previous versions of palm os. Can anybody tell me what I should do to read up to 30kb memos?
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Can anybody tell me what I should do to read up to 2008/10/12 20:50
|
Karma: 0  
|
|
The solution is to to use the new database instead of the old one used for compatibility purposes.
Redefine the sysMemoCreator as #define sysMemoCreator 'PMem'
and open the memo database dbP = DmOpenDatabaseByTypeCreator('DATA', sysMemoCreator, mode);
. . .
|
|
|
|
The administrator has disabled public write access. |
|
|
|
|
|
|