注册 登录
编程论坛 新人交流区

在win32 console application中用CFileDialog的问题?

DancingWind 发布于 2007-11-16 22:16, 1435 次点击

在win32 console application中用CFileDialog,怎么老报错阿?
程序代码:
CFileDialog dlg(false,NULL,NULL,OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT|OFN_ALLOWMULTISELECT);
int iResult = dlg.DoModal();
if( iResult != IDOK )
{
exit(0);
}
错误信息:
Debug Assertion Failed!
....
(press retry to debug the appliation)
终止 重试 忽略
求高手帮忙解答。
谢谢了!

2 回复
#2
ufowc2007-11-16 22:17
回复:(DancingWind)在win32 console application中...
谢分享  有什么好东西 在发出来哦
#3
DancingWind2007-11-16 23:06
怎么没人哩啊
1