This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sharing violation

Hello,

I am currently using a µvision V5.26.2.0 and sometimes I can't save source file ( h , cpp ).

When it happened the pop ups window showing this message:

"Encountered a sharing violation while accessing {Path to me source file}"

The only one way that can change this behavior is to restart the µvision IDE.

Can I do something else?

Parents Reply Children
  • Observed this here today, the IDE is holding the share, closing the project is not sufficient to clear this. Closing the tool down and restarting, and loading the project then worked.

    File is not shared on a network, file is not open for view/mapped in any other application.

    Got a resource leak here guys...

  • Some additional info if it helps

    uV 5.26 pre install
    Win7 64-bit, QC Xeon, 16 GB RAM

    Occurred after enabling browse information and rebuilding, a couple of build cycles ago, bit slow otherwise.

    File in question will cause very large change in dependency tree, perhaps background syntax checking of all files in project and library. stm32l4xx_hal_conf.h

    Doing a quick edit, and rebuild.