From the SHFileOperation docs:
This function has been replaced in Windows Vista by IFileOperation.
I wanted to use IFileOperation initially, but couldn't find any good examples of using it in C. Most used it in C++.
We can still keep the
SHFileOperation around for support for Vista and older, as the
FOFX_RECYCLEONDELETE flag requires Windows 8.
Help wanted - My C skills are very much at a noobish level, so any help would be much appriciated :)
Happy to use C++ if that's what it takes. I'm just trying to keep it simple with C.