请大哥大姐们帮我看看这个错误怎么改!
今天编了一个检测内存使用情况的程序,但编译的时候有这么一个错误! --------------------Configuration: Memory - Win32 Debug-------------------- Compiling... MainFrm.cpp F:\编程\Memory\MainFrm.cpp(18) : error C2440: 'return' : cannot convert from 'class CMainFrame *' to 'class CObject *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast MemoryView.cpp F:\编程\Memory\MemoryView.cpp(19) : error C2440: 'return' : cannot convert from 'class CMemoryView *' to 'class CObject *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Generating Code... Error executing cl.exe.
Memory.exe - 2 error(s), 0 warning(s) 请问该怎么改?谢谢!