Hi friends!

My program works perfectly in Debug mode. But if I choose Realeas mode, when I close my program I receive this nice window from Visual Studio 2005 (I use Qt4.5 open source):
"Unhandled exception at 0x01f71318 in Editor.exe: 0xC0000096: Privileged instruction."
Break or Continue.

However, if I execute it outside IDE, everything works fine.

I have no idea what is going on, I tried commenting all my signals/slots but no result.

Any idea?
Thanks a lot.