Skip to main content

Topic: Directory listing and many other i/o functions don't work (Read 1037 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Yegor
  • [*][*][*][*]
  • Developer
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.
  • Last Edit: 02 February, 2011, 12:01:47 PM by Entrase