如何在某些com exe服务器中使用activex [英] How to consume activex in some com exe server

查看:93
本文介绍了如何在某些com exe服务器中使用activex的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿......我是com编程的新手。我想要做的是制作一个com服务器,这是一个外部的com服务器,它包含了一个Web浏览器..(这就是我只想要一个可用于加载Web浏览器的包装器,过程)

那么我应该怎么做。

Hey... I am new to com programming. What i want to do is to make a com server which is out-of-proc that coonsumes a web browser in it.. (that is i just want a wrapper kind of thing that can be used to load a web-browser, out of process)
So how should I proceed.

推荐答案

COM是一个非常复杂的编程领域。所以你需要真正深入挖掘并学到很多东西。我讲的是几个月而不是几周的学习。没有办法,没有简单的解决方法 - 它只是不会工作。 ;-)



这篇精美的文章可以帮助你 COM教程。但它与过时的IE 6相比。较新的IE有更多的安全限制。这是一个想要我的意思的展示,但我可能不适合你 IE下拉按钮
COM is a very complex area in programming. So you need really to dig deep and learn a lot. I speak about more about months than weeks of learning. There is no way around and no easy fix - it just wont work. ;-)

May this fine article helps you COM tutorial. But it is with the outdated IE 6. Newer IE have some more security restrictions. This is a showcase to want I mean, but I may not suit you IE Drop-Down Button


您可以使用MFC或ATL或裸C / C ++。选择适合您的体验。



这是一篇关于创建浏览器实例的文章。



IWebBrowser2 Wrapper Class [ ^ ]



有几篇关于编写COM服务器的文章。大多数都是10岁左右。这是两个。



支持MFC的ATL COM EXE服务器 [ ^ ]



COM第二部分简介 - COM服务器的幕后 [ ^ ]



就像卡斯滕所说,这是一个学习曲线。我希望CP文章有所帮助。祝你好运。
You can use MFC or ATL or bare C/C++. Pick whichever suits your experience.

Here's an article on creating a browser instance.

IWebBrowser2 Wrapper Class[^]

There are several articles on writing COM servers. Most are about 10 years old. Here's two.

ATL COM EXE Server with MFC support[^]

Introduction to COM Part II - Behind the Scenes of a COM Server[^]

Like Karsten says, there's a learning curve. I hope the CP articles help. Good luck.


这篇关于如何在某些com exe服务器中使用activex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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