SHFileOperation displays spurious errors in debug output

0

I'm using SHFileOperation to delete a folder tree. The function works correctly - the folder tree is deleted, return code is 0, and fAnyOperations aborted is zero. I am doubly-null-terminating the folder path. Yet in the debug output window I see errors like:

shell\osshell\lmui\ntshrui\dll\shrengine.cpp(1473)\ntshrui.dll!678E7855: (caller: 678E2F44) ReturnHr(1) tid(1308) 80070002 The system cannot find the file specified.

Exception thrown at 0x76EAB832 (KernelBase.dll) in GLStartD.exe: 0x000006BA: The RPC server is unavailable.

I just want to understand why I would see the errors, and if possible how to avoid them.

shfileoperation
asked on Stack Overflow Sep 26, 2017 by drjon • edited Sep 26, 2017 by piet.t

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0