samhocevar / portable-file-dialogs

💬 Portable GUI dialogs library, C++11, single-header

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Select folder don't show on windows (mingw64)

raiseFlaymeException opened this issue · comments

commented

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)