我已经将一个旧的 vb6 windows 应用程序移动到带有 vs 2010 和 windows 7 的新系统。这个应用程序在其中使用AxInterop.MSMAPI和AxInterop.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 时需要一些帮助
提前致谢