04-11-2023 07:30 PM
Hi,
I am having problems with either FileSelectPopup() and FileSelectPopupEx().
The problem with FileSelectPopup() is that it sometimes didn't allow me to go to the subdirectory. Sometimes it showed a non-Windows type of dialog box.
So I tried to use FileSelectPopupEx() and it got worse. Once you started calling the function, the program freezed randomly. And sometimes it took long time to show the dialog box, which didn't allow me to go to the subdirectory as well.
I'm using a Windows 10 Pro and LabWindows/CVI 2017.
Regards,
Yimin
04-12-2023 03:36 AM
Try calling
CA_InitActiveXThreadStyleForCurrentThread(0, COINIT_APARTMENTTHREADED);
as the first thing in your main function.