RE: PDB file format

2005-03-31 Thread Oscar De Len
Vesselin, after the 80 bytes header what you have is a record index, a list that is NumRecords length. The first field, LocalID is the offset of the beginning of the respective record. You need to calculate the record lenght (number of bytes to read) subtracting the next record start offset, or

RE: Images on Palm

2005-02-15 Thread Oscar De Len
Hi Tunio, I have developed this for NSBasic, but it is very simple to convert is to C. The idea is to use a PRC to store the images. You can create the PRC on your desktop using PilRC. You can also create a PDB to store other information, including an ID for the picture. Then, when you need to

Treo Blazer and Emulator

2005-02-14 Thread Oscar De Len
Hi, is it possible to configure Treo 270 Blazer emulator to connect to a local web server, ie using http://localhost/page.html? Regards Oscar -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Images on Palm

2005-02-13 Thread Oscar De Len
hi Tunio, I recomend this: 1) Create a PRC database using PilRC for storing the pictures with a unique ID. 2) Create a PDB database with fields to relate the person ID with the picture ID and other info. 3) Use dmGet1Resource to retrieve the picture by ID and draw it on the screen. 4) A sample

RE: To add a bitmap into a pdb

2004-09-06 Thread Oscar De Len
Look at this article for NSBasic: http://www.nsbasic.com/palm/info/technotes/TN04b.htm You could use PilRC to create bitmap PRCs that works the same way as PDBs. There is also a code snippet you can adapt for C. Hope it helps! Oscar -Mensaje original- De: [EMAIL PROTECTED]