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
  • Hello,

    I have got some direction, might be helpful.

    The issue happened quite often when, I am editing the code without compilation.

    For Example:

    Good scenario - I am pressing the "F7" after a couple of written rows.

    Bad scenario - I am not compiling for a long time and making a lot of changes in a ".cpp" file and then, I am pasting the method declaration into the ".h" file.

Reply
  • Hello,

    I have got some direction, might be helpful.

    The issue happened quite often when, I am editing the code without compilation.

    For Example:

    Good scenario - I am pressing the "F7" after a couple of written rows.

    Bad scenario - I am not compiling for a long time and making a lot of changes in a ".cpp" file and then, I am pasting the method declaration into the ".h" file.

Children