
"Windows has triggered a breakpoint in cvsample.exe.
This may be due to a corruption of the heap, which indicates a bug in cvsample.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while cvsample.exe has focus.
The output window may have more diagnostic information."
Through a web search I realized that this can be caused by a dll incompatibility.
Please note that:
A. The error is triggered in the function GetFrameImage() from Optitrack SDK.
B. The function is NEVER called, but it throws me that error anyway
C. I'm using Visual Studio Team System 2008.
Build log:
http://pastebin.com/f6e05536
Debug log:
http://pastebin.com/f45cc14a4
Source:
http://pastebin.com/f282450cc