C# Winform ActiveX 在添加 VFP 表单时出错

C# Winform ActiveX error while add in VFP form

我为 PDFViewer (PdfiumViewer.dll) 创建了一个 ActiveX 控件以在 Visual FoxPro 表单中使用。

添加到 Visual Foxpro 表单时,我收到以下错误:

first time Ole Error class not registered ole error code 0x80040154

然后

Ole Error code 0x80070002: The system cannot find the file specified.

修复了 RegAsm 和 /codebase