无法在Windows 7 Professional上将C ++ DLL加载到组件服务中(可以在XP Professional上将DLL加载到组件服务中) [英] Unable To Load C++ DLL Into Component Services On Windows 7 Professional (DLL Can Be Loaded Into Component Services on XP Professional)

查看:130
本文介绍了无法在Windows 7 Professional上将C ++ DLL加载到组件服务中(可以在XP Professional上将DLL加载到组件服务中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将用C ++编写的非托管DLL(在Visual Studio 2005中创建)加载到Windows 7 Professional 64位计算机(我的开发计算机)上的组件服务中.组件服务显示一个带有文本的弹出窗口 此文件中引用的组件注册器不可用" .当我在弹出对话框中单击确定"按钮时,dll中的组件会列在安装向导"对话框的下半部分,但下一步"按钮是

I'm attempting to load a non-managed DLL written in C++ (created in Visual Studio 2005), into Component Services on a Windows 7 Professional 64 bit machine (my development machine).  Component Services displays a pop-up window with the text 'The component registrar referenced in this file is not available'.  When I click the OK button on the pop-up dialog, the components in the dll are listed on the lower half of the install wizard dialog, but the Next button is disabled. 

相同的dll将加载到Windows XP Professional 32位计算机上的组件服务中. (我们还使用C ++创建了许多其他dll,这些dll已成功加载到Windows 7计算机上的组件服务中. 到目前为止,唯一可以确定的是该特定的DLL是在Visual Studio 2005中创建的,而其他DLL是在Visual Studio 6中创建的,然后迁移到Visual Studio 2003/2005中.)

The same dll will load into Component Services on a Windows XP Professional 32 bit machine.  (We have many other dlls we've created in C++ that load successfully into Component Services on my Windows 7 machine.  The only difference I've been able to identify so far is that this particular DLL was created in Visual Studio 2005 whereas the other DLLs were created in Visual Studio 6 and then migrated into Visual Studio 2003 / 2005.)

我花了很多时间在网络上研究此问题,并且确实找到了有关此错误消息的参考,但是我发现的任何内容都无法让我知道可能会发生什么情况,为什么会发生错误,或该怎么做.

I've spent a lot of time researching this issue on the web and I do find references to this error message, but nothing I've found gives me any idea of what might be going on, why the error occurrs, or what to do about it.

我可以提供一个zipx文件,其中包含重新创建dll所需的项目.

I can provide a zipx file containing the projects needed to re-created the dll should that be needed.

任何帮助将不胜感激.

推荐答案

> span style ="font-family:" Segoe UI," sans-serif; color:black; font-size:10pt">嗨wburchard,

>  

> 要解决此问题,我们确实需要源代码和详细步骤来重现该问题,以便我们进行调查 本地问题.您不必发送整个项目.我们只需要一个最简单的示例即可重现该问题.您可以从中删除任何机密信息或公司详细信息.

To troubleshoot this issue, we really need the source code and the detailed steps to reproduce the problem, so that we can investigate the issue locally. It is not necessary that you send out the whole of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business details from it.

>  

> 您可以将代码发布在论坛中,也可以通过电子邮件将其发送给我:v-yifl [AT] Microsoft [DOT] COM.

>  

> 欢呼声

> Yi


这篇关于无法在Windows 7 Professional上将C ++ DLL加载到组件服务中(可以在XP Professional上将DLL加载到组件服务中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆