![]() |
Probleme to erase a file
hi
when i try to erase the file: /opt/good/log/alarm.txt i got: Invalid or incomplete multibyte or wide character - not able to delete the file: /opt/good/log/alarm.txt Code:
if(!remove(fname))thanks |
It sounds like fname is a wide character string. It needs to be an ASCII string.
|
fname is a char array (char fname[75]);
the value of fname is: /opt/good/log/alarm.txt |
| All times are GMT -5. The time now is 01:52 PM. |