_CrtIsValidHeapPointer(pUserData)
Hi I am using opencv 2.4.9 in a MFC project using visual studio 2013 when i run some opencv function I get the following error: _CrtIsValidHeapPointer(pUserData) it seem this problem is due to different CRT versions. opencv is compatible with visual studio 2010 not 2013. i decided to recompile opencv using vc2013 and the compile was successfully. this should solve the problem because both opencv and my MFC project are now using the same CRT version now i am using the new compiled opencv in my project but i still get this error!! dose any one know why the problem is not solved ?