Hi, I'm writing a QT4.6 application(without the qt designer) and when I close the program I get this error from Visual Studio:
Windows has triggered a breakpoint in Test.exe.
This may be due to a corruption of the heap, which indicates a bug in Test.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while Test.exe has focus.
The output window may have more diagnostic information.
Here is the source code:
- Main.cpp http://pastebin.com/DeUvZSHU
- TesterWindow.h http://pastebin.com/SEVr8x40
- TesterWindow.cpp http://pastebin.com/MYUtZZGw
- Device.h http://pastebin.com/bXKxVrmW
- Device.cpp http://pastebin.com/H1kMcRes
- ExtWiiMote.h http://pastebin.com/uX3HT9Yw
- ExtWiiMote.cpp http://pastebin.com/p2TKZdHv
(You can't compile it, I can't share the used library)
What's wrong?