Blob detection in Opencv 2.0
i am facing problem in blob detection in new open cv.. the code breaks at this line
blobs = CBlobResult( originalThr, NULL, 255 );
and displays..."""Unhandled exception at 0x76ae4b32 in blob_detection.exe: Microsoft C++ exception: int at memory location 0x0111fc38..""
please suggest some solutions...