Sir, I am using boost libraries for various file handling purposes. I have a problem in deleting a folder using boost libraries.
I used this,
#include<boost\filesystem\operations.hpp>// as a header file
boost::filesystem::path fOne = "c:\\A";
This works for the several locations(for e.g in C:\\A)
But when I try this location C:\\Windows\\A the executable builds successfully with zero error and zero warning.Then when I tried to execute the function which executes on button click a message box opens like this
Unhandled exception at 0x75CBD8A8 in HelpProject.exe: Microsoft C++ exception: boost::filesystem::filesystem_error at memory location 0x0018EF68.
I found this was an error message how can I solve this type of errors?
I have some knowledge in debugging the code but not the generated executable. So I closed the visual studio and opened the executable and tried to execute the function
and it shows me like this,
Debug error abort() has called!
I tried by opening the executable in administrator mode but no use
Am I missing anything?
Should I add still more information?