Memory leaking debugging errors

The memory leaking in the object recognition program has not been solved. Today, i changed the developing software from Code:Blocks to Visual Studio which is better for debugging. However, there generated a new problem, the debugging window said:

First-chance exception at 0x7c90eb74 in camera1.7.exe: 0xC0000008: An invalid handle was specified.

And, the debugging pointer was on the left side of the code:

capture = cvCaptureFromCAM(0);

Well, this line ran smoothly in Code:Blocks, why at here it went wrong.

codes

Author: Andol Li

A HCI researcher, a digital media lecturer, an information product designer, and a python/php/java coder.

Leave a comment
Due to technical adjustments, the comment function is shortly closed and will be re-openning soon. Thanks.


Copyrights 2006-2017 © All rights reserved
Theme Tree2, re-designed by Andol Li, powered by WordPress and Bootsrap
WWW.ANDOL.ME | 浙ICP备15040508号-1
公安备案图标 浙公网安备33010602004018号
Back to top