【发布时间】:2014-04-15 20:56:52
【问题描述】:
示例:http://msdn.microsoft.com/en-us/library/windows/desktop/dd940359%28v=vs.85%29.aspx
当我在调试配置中构建它时,一切都很好。
当我在发布配置中构建它时,我无法注册它。当我打电话时
regsvr32 ExplorerCommandVerb.dll
上面写着:
The module "ExplorerCommandVerb.dll" was loaded
but the entry-point DllRegisterServer was not found.
Make sure that "ExplorerCommandVerb.dll" is a valid
DLL or OCX file and then try it again.
我的配置:Windows 8.1 64 位上的 Microsoft Visual Studio 2013。在 Windows 7 32 位上也会发生同样的情况。
【问题讨论】:
-
检查您的项目设置,听起来您缺少未检查构建的预定义符号。
-
已确认。同样的问题。
-
肯定是缺少 .def 文件。
标签: c++ visual-c++ com