Mail Archives: djgpp/1999/08/18/19:25:03
salvador schrieb:
> Sascha Zapf wrote:
>
> > char StartDir[80];
>
>
The samoe Error if i use "char StartDir[PATH_MAX]
> 80 is not enough for a path, be careful.
>
> > strcpy("c:\\",StartDir);
>
>
Sorry, that was Online written, just for the posting...The Original-Dir-String
came from an External Function.
> Ough!!! you are copying garbage to the code!! strcpy(DESTINATION,SOURCE)!!!!
>
> SET
>
> --
> Salvador Eduardo Tropea (SET). (Electronics Engineer)
> Visit my home page: http://welcome.to/SetSoft or
> http://www.geocities.com/SiliconValley/Vista/6552/
> Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
> set AT ieee DOT org set-soft AT bigfoot DOT com
> Address: Curapaligue 2124, Caseros, 3 de Febrero
> Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
Sascha
- Raw text -