尝试引用CDOEX.DLL时出错 [英] Error trying to reference CDOEX.DLL

查看:66
本文介绍了尝试引用CDOEX.DLL时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图引用"Microsoft CDO For Exchange 2000 Library"。在Visual Studio 2005中的C#控制台应用程序中。它在"添加引用"对话框中不可用。我选择浏览到文件"C:\Program Files \Common Files \ Micropros Shared \ CDO \ CDOEX.DLL"。并得到错误...

I am attempting to reference "Microsoft CDO For Exchange 2000 Library" in a C# Console Application in Visual Studio 2005.  It is not available in the Add Reference dialog.  I choose to browse to the file "C:\Program Files\Common Files\Microsoft Shared\CDO\CDOEX.DLL" and get the error...

对'C:\Program Files \Common Files \\的引用无法添加\\ _Microsoft Shared \CDO \ CDOEX.DLL'。请确保该文件是可访问的,并且它是有效的程序集或COM组件。

A reference to 'C:\Program Files\Common Files\Microsoft Shared\CDO\CDOEX.DLL' could not be added.  Please make sure the file is accessible, and that it is a valid assembly or COM component.

我是什么做错了?这可能是因为Visual Studio是32位而CDOEX.dll是64位吗?

What am I doing wrong?  Could this be caused by Visual Studio being 32 bit and the CDOEX.dll being 64 bit?

系统:


Microsoft Windows Server 2003 R2

Microsoft Windows Server 2003 R2

Enterprise x64 Edition

Enterprise x64 Edition

Service Pack 2

Service Pack 2


开发环境

Development Environment


Microsoft Visual Studio 2005

Microsoft Visual Studio 2005

版本8.0.50727.42(RTM.050727-420)

Version 8.0.50727.42 (RTM.050727-420)

Microsoft .NET Framework

Microsoft .NET Framework

版本2.0.50727

Version 2.0.50727

推荐答案

在此添加修复。

我希望这些信息有助于som 。EONE 由于它是一个非常小的错误,但在开发时间方面损失很大。


$
注册DLL

命令行:'REGSVR32'C:\Program Files \ Common Files \ Mycoftoft Shared \\ \\ CDO \ CDOEX.DLL"'


在.Net中为CDOEX.DLL添加引用




这篇关于尝试引用CDOEX.DLL时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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