Whats wrong about this?
if((
::DeleteFile( L"IO.res"))== NULL)
MessageBox(NULL,L"Error",L"OK",MB_OK);
I have the IO.res file in the same directory, but the program cant delete it.
With the integrated File manager I can delete.
I use EVC4.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Windows CE doesn’t have any concept of a “current” or “working” directory. You must provide a fully qualified path to the file you want to delete.