1、记得对指针进行管理,可以使用vector进行管理 Modul *modul = new Modul; modul->Create(IDD_DIALOG2); 转载于:https://www.cnblogs.com/xiaohaige/p/7448443.html