"Steve Mann" <[EMAIL PROTECTED]> wrote in message
news:52764@palm-dev-forum...
>
> > /* FAILS here -- writing to unallocated memory!? */
> > MemMove( &dummyString, precord + offset, DB_SET_STRING_SIZE );
>
> I think you want
>
> MemMove( dummyString, precord + offset, DB_SET_STRING_SIZE );
>
> &dummyString gives you an address of an address.
Actually, if you have an array, &name is the same as name. See ISO C
(1999), $6.3.2.1 part 3, array names get converted to pointers except
when used with sizeof or the '&' operator.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/