I have migrated my project in Visual Studio 2010 after that when debugging the application i getting following error.
Loaded 'C:\WINDOWS\system32\mfc100enu.dll', Binary was not built with debug information.
Unloaded 'C:\WINDOWS\system32\shimeng.dll'
Detected memory leaks!
The program might very well work fine with memory leaks and if you turn off the debugging it will probably work fine in VS2010 too. Can't the debugger tell you where these memory leaks are? It is impossible for us to know where the problem is without seeing the code.