Hallo. I have a folder that my code has just cleared of all files, but I still cannot get it to delete.
Eg. This code would produce the message "Delete failed.":
if(_rmdir("C:\\test_del"){
ShowMessage("Delete failed."
}
Can anyone think why this might be?
Like I say, there are no files or other folders in the folder I'm trying to zap.
Any & all help gratefully received.
Cheers,
Douglas JL Common sense is what tells you the world is flat.
Eg. This code would produce the message "Delete failed.":
if(_rmdir("C:\\test_del"){
ShowMessage("Delete failed."
}
Can anyone think why this might be?
Like I say, there are no files or other folders in the folder I'm trying to zap.
Any & all help gratefully received.
Cheers,
Douglas JL Common sense is what tells you the world is flat.