> > Thanks to everyone who offered answers to my question. It's starting to make
> > sense now.  Hope you don't mind if I dig a little further.

As a general rule, don't put anything that consumes more than 4 bytes on the
stack i.e. its ok to declare:

ULong s1;
DWord s2;
Byte s3;

etc. but not:

Char s4[5];    /* or more */

With the latter, either declare a ptr using MemPtrNew (for which you must free)
or better still, use a handle (which must be freed also).

--
Christopher Hunt
Class Action Pty. Ltd.

Are you a time zone traveler that owns a Palm(tm) connected organizer?
Check out http://www.classactionpl.com/TimeTraveler/index.htm

Reply via email to