samhocevar / portable-file-dialogs

💬 Portable GUI dialogs library, C++11, single-header
Do What The F*ck You Want To Public License
1.03k stars 99 forks source link

Select folder don't show on windows (mingw64) #87

Open raiseFlaymeException opened 1 year ago

raiseFlaymeException commented 1 year ago

I tried this library, it's really great but select folder don't show when I run the function (the programm don't crash it just wait).

I tried the file "example.cpp" every function work except for select_folder.

I also tried this code from the doc:

// Folder selection dialog
auto dialog = pfd::select_folder("Select folder to open");

// Do something while waiting for user input
while (!dialog.ready(1000))
    std::cout << "Waited 1 second for user input...\n";

// Act depending on the user choice
std::cout << "Selected folder: " << dialog.result() << "\n";

Thanks for the help, Flayme

(Sorry for my poor english)