RE: error with reading database

2002-08-14 Thread Dominique Martel
D]] Sent: Wednesday, August 14, 2002 3:34 AM To: Palm Developer Forum Subject: RE: error with reading database Hi Dominique, Can you confirm that the source data is also 100% correct? Check the memory block from the database record to see if its data is exactly what you expect. I cannot see how th

RE: error with reading database

2002-08-14 Thread Johnson, Brian
Developer Forum Subject: RE: error with reading database Bryan, After trying your solution, it doesn't resolve my problem. With a 500 bytes file, there is 1 data that is different. But, with a larger with (300 kbytes), there are so many differences that I didn't count them. Thank you

RE: error with reading database

2002-08-13 Thread Dominique Martel
al Message- From: Johnson, Brian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 11:21 AM To: Palm Developer Forum Subject: RE: error with reading database Thanks Robert. Very good point (how often I've hit my head against a wall for missing that one)! DmRecordInfo could

RE: error with reading database

2002-08-13 Thread Dominique Martel
, Brian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 10:59 AM To: Palm Developer Forum Subject: RE: error with reading database Hey Dom, Looking at your code, I cannot immediately see what is wrong. The only issue I see is the use of MemMove. I would recommend sending the data across

RE: error with reading database

2002-08-13 Thread Johnson, Brian
Brian -Original Message- From: Robert McKenzie [mailto:[EMAIL PROTECTED]] Sent: 13 August 2002 17:10 To: Palm Developer Forum Subject: RE: error with reading database There is another potential problem with the code below, with will or will not manifest depending on the state of the databa

RE: error with reading database

2002-08-13 Thread Robert McKenzie
lto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 7:59 AM To: Palm Developer Forum Subject: RE: error with reading database Hey Dom, Looking at your code, I cannot immediately see what is wrong. The only issue I see is the use of MemMove. I would recommend sending the data across using the address o

RE: error with reading database

2002-08-13 Thread Johnson, Brian
esH); break; } MemHandleUnlock(resH); }//end for <<< Cut Here >>> -Original Message- From: Dominique Martel [mailto:[EMAIL PROTECTED]] Sent: 13 August 2002 16:31 To: Palm Developer Forum Subject: error with reading database H

error with reading database

2002-08-13 Thread Dominique Martel
Hi all, I have a problem with reading a database (PDB file) on a Palm and sending these datas from the Palm to a device on the serial port. I included part of the code below. More precisely, what happens is that I read the records of a database on the Palm, and I send the datas on the serial port