-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Calling tinyfd_openFileDialog on Windows can act off sometimes. It's generally stable and works as expected, but sometimes it will reopen itself after having selected a file, and having returned the right data. It just opens a second time, and blocks the application at a random point. I don't know how to reproduce this, but it's happened to a few users of my application, and I just experienced it myself for the first time.
Furthermore, tinyfd_selectFolderDialog on Windows sometimes refuses to open a dialog, causing the application to freeze indefinitely.
I'm using this library in C#, and I've read somewhere that I need to mark the calling thread as a STA thread in order to communicate with the Windows COM properly. This didn't seem to make any difference, however.