same vc++ code using opencv, there is no error in vc6.0, but when you create a new project in vs2008, using this code it has runtime error, but when use vs2008 to open an exist project created by vc++6.0, and convert to vs2008 format, no runtime error. why?