USERNAME PASSWORD LOST PASSWORD? REGISTER
"A Complete Mobile Application Development Environment"
Advertisement

Downloads
Documentation
Forums
Blog
Press
Bug Tracking
Creator IDs
Contact Us




ACCESS Developer Network
Welcome, Guest
Please Login or Register.
Lost Password?
Re:Can anybody tell me what I should do to read up to (1 viewing)
_GEN_GOTOBOTTOM Post Reply Favoured: 0
TOPIC: Re:Can anybody tell me what I should do to read up to
#737
codemaker (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
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.
#743
codemaker (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
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.
_GEN_GOTOTOP Post Reply
Powered by FireBoardget the latest posts directly to your desktop


© 2008 ACCESS Developer Network    |    Joomla! is Free Software released under the GNU/GPL License.    |    ACCESS Global Website
Events Support Community Platforms Home