The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version |
Location |
Description |
Submitted by |
Date submitted |
Printed |
Page 148
listing at bottom of page |
foundIt =3D StrCompare(findRecord.lastName, record->lastName) =3D=
=3D 0 &&
StrCompare(findRecord.firstName, record->firstName);
should be:
foundIt =3D StrCompare(findRecord.lastName, record->lastName) =3D=3D=
0 &&
StrCompare(findRecord.firstName, record->firstName) =3D=3D 0;
|
Anonymous |
|
Printed |
Page 149
second paragraph |
Text refers to MemHandleSetSize when I can't find this function in the palm
documentation or header files. It probably should be MemHandleResize
instead.
|
Anonymous |
|
Printed |
Page 278
SendBody and SendSingleBodyLine code examples |
The Sendmail logic, as published, only handles the first line of a multiple
line message.
Look in SendBody...
It loops as long as there are characters in the body AND ***result = 0***
When it finds a '
' it sends the buffer off to SendSingleBodyLine
BUT (looking in SendSingleBodyLine)
SendSingleBodyLine sends a '1' for success and a '0' for failure. (Using
the updated code from your web site, the book doesn't even return 1 for
success...)
So SendSingleBodyLine sends back '1' for success, SendBody sees that as
failure and only the first line gets send.
My fix was to to have SendSingleBodyLine return 0 for success and 1 for
failure, then fix the sendmail routine so that the SendBody if statement
reads...
if (SendBody...)
rather than
if (!SendBody...)
|
Anonymous |
|