Directory listing and many other i/o functions don't work, g_list_directory |
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).
![]() ![]() |
Directory listing and many other i/o functions don't work, g_list_directory |
Feb 2 2011, 17:46
Post
#1
|
|
![]() Group: Developer Posts: 251 Joined: 8-April 09 From: Russia, Zlatoust Member No.: 68779 |
What's wrong with the following code?
CODE abort_callback_dummy 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.
directory_callback_impl i(false); foobar2000_io::filesystem::g_list_directory("D:\\", i, dummy); This post has been edited by Entrase: Feb 2 2011, 18:01 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 23:28 |