Kevin Timmerman wrote: > No room for the string terminator.... > > unsigned char ascCod[400]; //este array contiene > unsigned char ascCred[100]; //este array contiene > > Files are 400 & 100 bytes long. Scanf will null terminate the string, > so at least 401 & 101 bytes are needed for the buffers. > > Classic "Buffer Overflow" Bingo. That's it! > Consider using C# or Java. ok. Thank you, again. Dennis. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist