Visual Studio 2005中的Interop xxxx.dll [英] Interop xxxx.dll in Visual studio 2005

查看:102
本文介绍了Visual Studio 2005中的Interop xxxx.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个在VS2003中创建的COM dll.之后,我将其转换为2005.我的项目位于.NET环境中,因此需要与该COM dll相对应的interop.dll.我有一个用于创建VS2003中的interop dll的InteropGenerator.我还将其转换为2005,用于生成COM dll(在VS2005中创建)互操作.但是互操作的创建日期和时间与COM dll的日期和时间不同.我的问题是,我可以使用结果互操作吗?要注册新的COM dll,是否需要相应的.tlb文件(在VS2005中)?因为对于我的项目路径,我需要复制.tlb文件.

Hi,

I have a COM dll which was created in VS2003. After that I converted it to 2005. My project is in .NET environment so it needs an interop.dll corresponding to that COM dll. I have an InteropGenerator for creating interop dll which is in VS2003. I also converted it into 2005 for generating interop of COM dll(created in VS2005). But interop is not creating with same date and time as that of COM dll. My question is, can I use resulted interop? For registering the new COM dll does it need the corresponding .tlb file(in VS2005)? Because for my project path I need to copy .tlb file.

推荐答案

经验法则:相应的二进制文件应使用相同版本的VS创建(这也包括服务包)

否则:它可以工作"-是的,但是不能这样做
Rule of thumb: corresponding binaries should be created with the same version of VS (this also is including service packs)

else: "it can work" - yes really, but it must not


这篇关于Visual Studio 2005中的Interop xxxx.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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