Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2013 未找到regsvr32.exe的调试信息? 这样,我得到了一个Visual Studio 2013解决方案,其中有两个Visual C++项目——其中一个是COMServer,它生成.dll文件,另一个是COMclipse,依赖于CAMServer。DLL。_Visual Studio 2013_Com - Fatal编程技术网

Visual studio 2013 未找到regsvr32.exe的调试信息? 这样,我得到了一个Visual Studio 2013解决方案,其中有两个Visual C++项目——其中一个是COMServer,它生成.dll文件,另一个是COMclipse,依赖于CAMServer。DLL。

Visual studio 2013 未找到regsvr32.exe的调试信息? 这样,我得到了一个Visual Studio 2013解决方案,其中有两个Visual C++项目——其中一个是COMServer,它生成.dll文件,另一个是COMclipse,依赖于CAMServer。DLL。,visual-studio-2013,com,Visual Studio 2013,Com,现在,当我试图通过调用regsvr32.exe(从c:\Windows\System32和c:\Windows\SysWOW64)来注册ComServer.dll文件时,会弹出一个对话框,出现以下错误: “未找到regsvr32.exe的调试信息。无法找到或打开pdb文件。” ComServer.dll的项目属性如下所示: ComServer属性页->配置属性->调试:命令:“C:\Windows\System32\regsvr32.exe” 命令参数:$(TargetPath) 是否有解决此问

现在,当我试图通过调用regsvr32.exe(从c:\Windows\System32和c:\Windows\SysWOW64)来注册ComServer.dll文件时,会弹出一个对话框,出现以下错误:

“未找到regsvr32.exe的调试信息。无法找到或打开pdb文件。”

ComServer.dll的项目属性如下所示:

ComServer属性页->配置属性->调试:命令:“C:\Windows\System32\regsvr32.exe” 命令参数:$(TargetPath)

是否有解决此问题的方法或任何可能的解决方法?(我对整个COM/Windows编程场景都不熟悉)

ComServer.dll包含以下功能:

DllRegisterServer DllUnregisterServer
DllGetClassObject

你听起来很困惑。这是从调试器中得到的消息。它不会“砰”的一声。除非尝试调试注册代码,否则使用调试器运行Regsvr32.exe没有意义。在这种情况下,输出窗口中的此通知完全正常。调试COM服务器的正确方法是调试客户端程序。以下是调试
DllRegisterServer()
:插入
Sleep()
并重新编译,然后从命令行运行
regsvr32
,然后将调试器连接到
regsvr32.exe
进程。