public: CPicture m_Pic; 要写在头文件里! 而不能是cpp文件的public里! 转载于:https://www.cnblogs.com/wxl845235800/p/7376080.html