cancel
Showing results for 
Search instead for 
Did you mean: 

Crash when opening file

omaroski
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

7 REPLIES 7
AScha.3
Chief II

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".

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

 

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".

I didn't notice there were old versions too, just tried to install 2.9 but no luck, still crashing

GMock.1
Associate II

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

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 II

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.