1

我已经将一个旧的 vb6 windows 应用程序移动到带有 vs 2010 和 windows 7 的新系统。这个应用程序在其中使用AxInterop.MSMAPIAxInterop.ComctlLib dll。当我尝试编译时,我收到以下警告

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

所以我正在尝试使用 RegSvr32 注册它们

run --> regsvr32 D:\somepath\AxInterop.MSMAPI.dll

但我收到以下错误

The Module "D:\somepath\AxInterop.MSMAPI.dll" as loaded but the entry-point DLLRegisterServer was not found.

Make sure that "D:\somepath\AxInterop.MSMAPI.dll" is a valid DLL OR OCX file and then try again.

在注册这两个 dll 时需要一些帮助

提前致谢

4

1 回答 1

1

您使用的是 64 位 Windows 吗?如果是这样,您必须确保从 syswow64 文件夹运行 regsvr32 命令,如下所示:

c:\windows\syswow64\regsvr32 D:\somepath\AxInterop.MSMAPI.dll
于 2013-10-26T20:19:06.957 回答