qPCR4vir / nana-demo

demos and tests for Nana C++ GUI library
https://github.com/cnjinhao/nana
Boost Software License 1.0
68 stars 24 forks source link

Unhandled exception at 0x75A246D2 in file_explorer #19

Closed ghost closed 3 years ago

ghost commented 3 years ago

Compilation is ok but two exceptions when debugging.

1

2

cnjinhao commented 3 years ago

Hi, @blackbeaf , change following line https://github.com/qPCR4vir/nana-demo/blob/2a8d7da04abbbcb3e6afcd0a117e9dc17657335b/file_explorer.cpp#L102

into

std::error_code err;
if (fs::is_directory(item, err))