Skip to main content
Associate II
June 22, 2024
Solved

Crash when opening file

  • June 22, 2024
  • 3 replies
  • 3018 views

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.

Best answer by omaroski

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.

3 replies

AScha.3
Super User
June 22, 2024

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
omaroskiAuthor
Associate II
June 22, 2024

Thank you but i tried to turn off every protection and reinstall in the default directory c:\programs\, still crashing

 

AScha.3
Super User
June 22, 2024

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...) :)

"If you feel a post has answered your question, please click ""Accept as Solution""."
GMock.1
Associate
September 4, 2024

Same problem here (latest v2.17.0). I tried deleting its configuration files, but that did not help either. Any solution?

omaroskiAuthorBest answer
Associate II
September 5, 2024

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.

GMock.1
Associate
September 5, 2024

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.