Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Directory listing and many other i/o functions don't work (Read 1890 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Directory listing and many other i/o functions don't work

What's wrong with the following code?
Code: [Select]
abort_callback_dummy dummy;
directory_callback_impl i(false);
foobar2000_io::filesystem::g_list_directory("D:\\", i, dummy);
It throws exception_io somewhere outside a component. I tried different events, i.e. on_init, on_quit, etc. There are also other methods, like g_is_valid_directory, which return false results because there are exception handlers.