问题描述
当我使用TOpenDialog
时,关闭程序后,Vcl.Forms
模块出现异常。
我正在使用的程序:
std::auto_ptr<TOpenDialog> OpenDialog (new TOpenDialog(this));
if ( OpenDialog->Execute() ){}
异常:'0x008133a4 处的访问冲突:读取地址 0x000000c4'
突出显示的是一行:如果不是 FHandleCreated 则
function TApplication.GetDialogHandle: HWND;
begin
if not FHandleCreated then
Result := SendMessage(Handle,CM_DIALOGHANDLE,1,0)
else
Result := FDialogHandle;
end;
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)