You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Rad Studio 11.2/Delphi操作FireMonkey元素触发fmx280.bpl访问违规

Rad Studio 11.2/Delphi FireMonkey组件触发fmx280.bpl地址访问违规问题解决

问题详情

近期安装Rad Studio 11.2/Delphi,初期运行正常,但目前操作任何FireMonkey元素都会触发**“fmx280.bpl模块中地址访问违规”**错误。具体场景:

  • 创建新项目后添加Camera组件或其他FireMonkey组件(无自定义代码)
  • 删除组件或关闭窗体时必现错误

已尝试卸载Rad Studio并手动清理相关文件夹,问题仍未解决。错误调用栈如下:

[6B94CE75]{fmx280.bpl  } FMX.Media.TCaptureDevice.StopCapture (Line 885, "FMX.Media.pas" + 1) + $2
[6B94D72E]{fmx280.bpl  } FMX.Media.TCameraComponent.DoStop (Line 1226, "FMX.Media.pas" + 1) + $7
[6B94D325]{fmx280.bpl  } FMX.Media.TCameraComponent.Destroy (Line 1125, "FMX.Media.pas" + 1) + $2
[6F93FDF4]{rtl280.bpl  } System.TObject.Free (Line 17991, "System.pas" + 1) + $4
[6F330916]{designide280.bpl} ComponentDesigner.TComponentRoot.DeleteSelection (Line 5231, "ComponentDesigner.pas" + 44) + $2
[6F37769F]{designide280.bpl} Surface.TDesignSurface.DeleteSelection (Line 214, "Surface.pas" + 0) + $7
[6F2F3E47]{designide280.bpl} Designer.TDesigner.DeleteSelection (Line 792, "Designer.pas" + 2) + $5
[6F2F66A7]{designide280.bpl} Designer.TDesigner.Key (Line 1612, "Designer.pas" + 4) + $3
[678ADD35]{fmxdesigner280.bpl} FmxSurface.KeyEvent (Line 6764, "FmxSurface.pas" + 8) + $21
[678AE21F]{fmxdesigner280.bpl} FmxSurface.TFmxDesignSurface.IsDesignMsg (Line 6891, "FmxSurface.pas" + 43) + $6
[6B70F99D]{fmx280.bpl  } FMX.Platform.Win.WndProc (Line 2205, "FMX.Platform.Win.pas" + 9) + $23
[6EA32A28]{vcl280.bpl  } Vcl.Controls.SendAppMessage (Line 3804, "Vcl.Controls.pas" + 2) + $4
[6EA37B7C]{vcl280.bpl  } Vcl.Controls.TControl.Perform (Line 7362, "Vcl.Controls.pas" + 10) + $8
[6EA3F760]{vcl280.bpl  } Vcl.Controls.TWinControl.CNKeyDown (Line 12326, "Vcl.Controls.pas" + 11) + $C
[6EA37F46]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7584, "Vcl.Controls.pas" + 91) + $6
[678BCAEA]{fmxdesigner280.bpl} FmxFormContainer.TControlSizer.ControlWndProc (Line 1885, "FmxFormContainer.pas" + 94) + $36
[6FA5580C]{rtl280.bpl  } System.Classes.StdWndProc (Line 18490, "System.Classes.pas" + 8) + $0
[6EB8417F]{vcl280.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 11460, "Vcl.Forms.pas" + 23) + $1
[6EB841C2]{vcl280.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 11490, "Vcl.Forms.pas" + 1) + $4
[6EB84501]{vcl280.bpl  } Vcl.Forms.TApplication.Run (Line 11629, "Vcl.Forms.pas" + 27) + $3
[00AF8082]{bds.exe     } bds.bds (Line 227, "" + 16) + $2

解决方案

1. 重置IDE配置

  • 关闭Rad Studio,找到IDE配置目录:C:\Users\<你的用户名>\AppData\Roaming\Embarcadero\BDS\22.0
  • 备份该文件夹后删除,重启IDE会自动生成全新配置,排除配置文件损坏问题

2. 修复系统依赖与文件

  • 安装对应版本的Visual C++ Redistributable(Rad Studio 11.2建议安装2022版)
  • 以管理员身份运行命令提示符,执行sfc /scannow修复系统核心文件

3. 禁用第三方插件

  • 打开IDE,进入Tools > Options > Environment > Plugins,禁用所有第三方插件
  • 重启IDE测试,若问题消失,逐个启用插件找出冲突项

4. 彻底重装IDE

  • 使用Embarcadero官方的Cleaner Tool卸载Rad Studio,彻底清理残留文件与注册表
  • 重启电脑后,下载官方完整安装包,以管理员权限运行安装,选择全部组件安装

5. 更新硬件驱动

  • 针对错误涉及的Camera组件,更新电脑内置或外接摄像头的驱动程序
  • 测试时可断开外接摄像头,排除硬件驱动冲突

内容的提问来源于stack exchange,提问作者Slav Che

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.11 17:40:28