IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

 
Reply to this topicStart new topic
Directory listing and many other i/o functions don't work, g_list_directory
Yegor
post Feb 2 2011, 17:46
Post #1





Group: Developer
Posts: 253
Joined: 8-April 09
From: Russia, Zlatoust
Member No.: 68779



What's wrong with the following code?
CODE
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.

This post has been edited by Entrase: Feb 2 2011, 18:01
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 22:54