COM - > CSharp接口生成器 [英] COM -> CSharp Interface generator

查看:75
本文介绍了COM - > CSharp接口生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道某种工具可以从COM接口生成C#接口

?我需要从现有的

应用程序中提取大量接口,并且使用这些接口至少可以获得至少一个粗略的开端

更好。


在我坐下来写这样的东西之前有没有这样的东西在我的

拥有?

+++ Rick ---


-

Rick Strahl

West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/

- --------------------------------

在网上制造波浪

Does anybody know of a tool of some sort that can generate a C# interface
from a COM interface? I need to pull a ton of interfaces out of an existing
application and it sure would be lot nicer to get at least a rough headstart
with these interfaces.

Is there such thing before I sit down and write somehting like this on my
own?
+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web

推荐答案

" Rick Strahl [MVP]" < RI ******** @ hotmail.com>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
"Rick Strahl [MVP]" <ri********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
有没有人知道一种可以从COM接口生成C#接口的工具吗?我需要从
现有的应用程序中提取大量的接口,并且使用这些接口至少可以获得至少一个粗略的
headstart。

是否有这样的我坐下来之前在我自己身上写下这样的东西吗?
Does anybody know of a tool of some sort that can generate a C# interface
from a COM interface? I need to pull a ton of interfaces out of an existing application and it sure would be lot nicer to get at least a rough headstart with these interfaces.

Is there such thing before I sit down and write somehting like this on my
own?



嗨瑞克,


我还没有看到任何做到这一点。但是,这里有一个想法,我会把b $ b扔掉那里看看它是否会为你节省一些工作。如果您在tlbimp.exe生成的代理上使用

反射来拉出接口并从那里生成代码,那么该怎么办?


Joe

-
http:// www。 csharp-station.com


视觉工作室7.1内置了吗?在哪里导入一个com

界面供你在c#中使用?

" Rick Strahl [MVP]" < RI ******** @ hotmail.com>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
doesn''t visual studio 7.1 have this built in? where it imports an com
interface for you to use in c#?
"Rick Strahl [MVP]" <ri********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
有没有人知道一种可以从COM接口生成C#接口的工具吗?我需要从
现有的应用程序中提取大量的接口,并且使用这些接口至少可以获得至少一个粗略的
headstart。

是否有这样的我坐下来之前在我自己的上面写这样的东西吗?

+++ Rick ---

-
Rick Strahl
West Wind Technologies
http://www.west -wind.com/
http:// www。 west-wind.com/weblog/
----------------------------------
在网上掀起波澜
Does anybody know of a tool of some sort that can generate a C# interface
from a COM interface? I need to pull a ton of interfaces out of an existing application and it sure would be lot nicer to get at least a rough headstart with these interfaces.

Is there such thing before I sit down and write somehting like this on my
own?
+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web



是的TLBIMP可以,但它并没有为它生成源。这是全部或

没什么。我需要拉入一个巨大的类型库的几个接口,而不是
想要一个7meg文件的行李...


++ + Rick ---


-


Rick Strahl

West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/

----------------------------------

网页

" PEACEMAKER" <做********** @ yo.mamas.hairy.ass.com>在消息中写道

news:eZ ************** @ TK2MSFTNGP12.phx.gbl ...
Yeah TLBIMP does, but it doesn''t generate the source for it. It''s all or
nothing. I need to pull in a few interfaces of a huge type library and don''t
want the baggage of a 7meg file...

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
"PEACEMAKER" <do**********@yo.mamas.hairy.ass.com> wrote in message
news:eZ**************@TK2MSFTNGP12.phx.gbl...
不可视工作室7.1有这个内置?在哪里导入一个com
界面供你在c#中使用?
Rick Strahl [MVP]" < RI ******** @ hotmail.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
doesn''t visual studio 7.1 have this built in? where it imports an com
interface for you to use in c#?
"Rick Strahl [MVP]" <ri********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
有没有人知道一个工具某种可以从COM接口生成C#
接口的东西?我需要从
Does anybody know of a tool of some sort that can generate a C# interface from a COM interface? I need to pull a ton of interfaces out of an


现有的

应用程序中提取大量接口,并且确实会更好地获得至少一个粗略的
application and it sure would be lot nicer to get at least a rough


headstart


headstart

带有这些界面。

在我坐下来写下这样的东西之前,有没有这样的东西?
我自己?

+++ Rick ---



Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
---------- ------------------------
在网上制造波浪
with these interfaces.

Is there such thing before I sit down and write somehting like this on my own?
+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web




这篇关于COM - &gt; CSharp接口生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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