Hi Kabir, Line 9469 while((pChar=strchr(Uwel_notes1.str,'^M'))!=NULL) I assume that the '^M' is an embedded control-M. Use '\r' mnemonic instead, or '\x0D'. Embedded binary control characters are not valid source code. Sincerely, --Eljay