2024-06-22 02:18 AM - edited 2024-06-22 05:59 AM
Hello,
i just installed the most recent version of Cube Programmer but when i click the Open File tab and select a folder the program crashes immediately. I'm running it in Windows 11 64-bit on an Acer laptop, i selected the correct 64-bit version for download.
It also crashes if i close the "Open file" dialog or click the Cancel button.
Solved! Go to Solution.
2024-09-05 02:39 AM
In my case the issue wasn't due to the CubeProgrammer but a dll from Microsoft since i noticed that other applications had the same problem.
Check here:
Application crashes when open file dialog appears and a folder is - Microsoft Community
I downloaded and installed the latest Microsoft redistributable for Visual Studio and also manually replaced the dll for each application.
Check logs from the Windows Event Viewer after the application crashes, i got the hint about reason for crashing there.
2024-06-22 02:26 AM - edited 2024-06-22 02:27 AM
Hi,
so maybe it cannot open any file ; in Win often a problem with "rights" (or antivirus, firewall)...
I would un-install, install in directory as it wants (and "allow" everything, if any question...).
And check in antivirus and firewall : app has all rights.
2024-06-22 02:53 AM
Thank you but i tried to turn off every protection and reinstall in the default directory c:\programs\, still crashing
2024-06-22 04:00 AM
So i have no "good idea" - (I use V2.15),
i would try: install old version, maybe V2.9.0 ... (there are some to try...) :)
2024-06-22 05:59 AM
I didn't notice there were old versions too, just tried to install 2.9 but no luck, still crashing :(
2024-09-04 08:55 AM
Same problem here (latest v2.17.0). I tried deleting its configuration files, but that did not help either. Any solution?
2024-09-05 02:39 AM
In my case the issue wasn't due to the CubeProgrammer but a dll from Microsoft since i noticed that other applications had the same problem.
Check here:
Application crashes when open file dialog appears and a folder is - Microsoft Community
I downloaded and installed the latest Microsoft redistributable for Visual Studio and also manually replaced the dll for each application.
Check logs from the Windows Event Viewer after the application crashes, i got the hint about reason for crashing there.
2024-09-05 06:00 AM
Thanks, it worked!
More specifically, I downloaded and installed the latest msvcp140.dll from Microsoft. Then I deleted the files msvcp140.dll, msvcp140_1.dll, msvcp140_2.dll (why serveral? no idea) in
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin
and then Cube Programmer worked again.