CFont *fonFont=new CFont;
CFontDialog fonDlg;
if(fonDlg.Domodal()==IDOK)
fonFont=fonDlg.GetFont();
以上的代码运行出debug错误,请问哪里错了?谢谢。