've decided to make a text searching utility in Qt as an excercise. I have a problem however. I've just reformatted my computer, and I took a backup of my Visual Studio projects. Now when I try to exit my application by the X in the upper right corner I get this message for Visual Studio:
"Unhandled exception at 0x004044e9 in Qt Text Searcher.exe: 0xC0000005: Access violation writing location 0xfeeefeee."
Visual Studio also says CX0030: Error: Expression cannot be evaluated

Visual Studio then points me to the following line in qatomic.h:
"{ return _InterlockedDecrement(reinterpret_cast<volatile long *>(ptr)); }"

How can I help this? To my knowing I have not used any Atomic counters (I am not even sure what it is)