¡Fixed!

I worked in this line, and finally have solved it. A "Char buf[3000];" was being declared in the same function; seems that it was causing the stack to grow over the limit, maybe writting part of the code, or something like this. Using "Char buf[30];" solves the problem (but I still need to deal with that small buffer ;-)

Regards,

Javier Sedano wrote:



Jim Morris wrote:

Sorry. They only thing that comes to mind is that either p_stringWinplan or p_stringGame isn't defined or is are really long or that MAXPATH isn't 256 and the stack has been overwritten


That came to my mind (MAXPATH is 100, but p_stringGame + file is by far less than 100 characters long; why didn't they implement StrNPrintF?), but that does not explain why it fail the third time it is called, but not the first and second. :-(

Thanks,


--
Javier Sedano Jarillo: [EMAIL PROTECTED]
Agora Systems S.A.
C/Velazquez, 46, 6º derecha;    E-28001 Madrid (Spain)
Tel.: +34 676 48 29 55;         Fax.: +34 91 577 76 72
--------
Real users hate reals programmers.

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

Reply via email to