如何将Windows应用程序公开给ActiveX? [英] How to expose a windows application to ActiveX?
本文介绍了如何将Windows应用程序公开给ActiveX?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用WCf和Windows应用程序创建了一个WebCam应用程序。这会生成.exe文件,但我的要求是将此可执行文件公开给AciveX。
提前谢谢
I have created a WebCam Application using WCf and Windows application.This generates an .exe file but my requirement is to expose this executable file to AciveX.
Thanks in advance
推荐答案
我不认为你通常不会谈论曝光一个ActiveX应用程序 - 通常是'编写一个可以被其他程序使用的(ActiveX)组件'
进一步思考这个问题,我想你可能意味着'如何我是否从我的程序中公开了一个接口,以便其他东西可以与它进行交互'...所以我认为你需要回到你的问题并对其进行编辑,以解决/消除歧义 - 你到底想要实现什么? br />
因此,如果你想使用.Net并编写一个activeX组件,我会先从在.NET中逐步创建ActiveX [ ^ ]
I don't think you don't usually talk in terms of exposing an application to ActiveX - usually one 'writes an (ActiveX) component that can be used by other programs'
Thinking further on this, I guess you could mean 'how do I expose an interface from my program so something else can interact with it' .. so I think you need to go back to your question and edit it, to resolve/clear up the ambiguity - what exactly are you trying to achieve ?
So if you wish to use .Net and write an activeX component, I'd start with Create ActiveX in .NET Step by Step[^]
这篇关于如何将Windows应用程序公开给ActiveX?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文