Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以成功导入和安装类型库*.OCX with Delphi 7。(项目 - 导入类型库 - 添加 - ...)
*.OCX with Delphi 7
但是当我使用该组件时,它会显示以下消息:
Error EOLeSysError class not registered Class Not Registered.
这是什么原因?
当 .ocx 未向系统 COM 注册表注册时,会发生这种情况。通常您会运行regsvr32 SomeOCXFileName.ocx以注册 COM 服务器,尽管不同的组件有时有不同的方式来执行该注册。
regsvr32 SomeOCXFileName.ocx