On Tue, 23 Mar 1999, Scott Johnson wrote:
> "Michael S. Davis" wrote:
> > But my questions is, If I use DmWrite and MemMove, is that padding
> > added automatically, with both of these functions.
>
> NO -- these functions just copy raw bytes around. The parameters you
> pass specify exactly which bytes, with a 1-byte granularity.
>
> If you're familiar with the standard C library, DmWrite and MemMove are
> both Palm equivalents to memmove.
That's easy enough to understand. But what are the implications
to using these functions and saving and restoring structs that have
odd length strings (or even length with null term). Are my
doubles saved and restored properly.
Some have said I must consider the even boundaries for doubles. Or,
it it that the compiler will compile the struct with or without
padding (depending on string length) and my DmWrites and MemMove
just move that data as is. Meaning: that this is all transparent
to me.
>
> -slj-
>
>
----------------------------------------------------
Shoot-to-Win
Protect the 2nd Amendment
----------------------------------------------------