N
N
Nikita Volkov2020-11-06 10:46:18
C++ / C#
Nikita Volkov, 2020-11-06 10:46:18

Can't delete C++/CLI directory, how to fix?

The code:

string itog = y + "\\garrysmod\\cache";

if (!fin.is_open()) { fin.close(); return; } fin.close();

if (checkedListBox1->GetItemChecked(2)) {
  RemoveDirectoryA(itog.c_str());
}


There are no errors, the folder is simply not deleted!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question