ok, here are the class declarations:
class TextFile
{
public:
 char* Body;
 int Num;
 LocationType Destinations[20];
};
class LocationType
{
public:
 char* Name;
};

"Steve Mann" <[EMAIL PROTECTED]> wrote in message
news:38178@palm-dev-forum...
>
> >well, I said this:
> >  TextFile File; //This is not a file stream but a regular struct
> >  StrCopy(File.Destinations[0].Name,"Forest");
>
>  From that there's no way to tell if it's valid or not. What does
> File.Destinations[0].Name look like in the debugger? What does the
> File structure look like?
>
> Another possibility: your source string is not terminated (looks OK
> above) or the destination is too small for the source string.
>
> Regards,
> Steve Mann
> --
> -------------------------------------------
> Creative Digital Publishing Inc.
> 1315 Palm Street, San Luis Obispo, CA 93401-3117
> -------------------------------------------
> 805.784.9461              805.784.9462 (fax)
> [EMAIL PROTECTED]       http://www.cdpubs.com
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to