如何将C Dll变成Com Dll [英] How Do I Make A C Dll Into A Com Dll
本文介绍了如何将C Dll变成Com Dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我是COM新手。我有一个用C编写的DLL。我想把这个DLL变成一个COM dll。所以我可以注册它,我的应用程序可以使用它。我试了很多谷歌。但是没有找到任何令人满意的答案。
如果您对如何实现这一目标有任何疑问,请回答。
提前致谢
Hi All,
I am new to COM. I have a DLL which is written in C. I want to make that DLL a COM dll. SO that i can register it and my application can use it. I tried google a lot. But not finding any satisfactory answer.
Please answer if you have any idea about how to achieve the said.
Thanks in advance
推荐答案
一种可行的方法是使用MFC
或ATL
,以下文章显示了第二个选项:编写简单COM / ATL DLL的初学者教程,并将其与.NET一起使用 [ ^ ]。
A viable approach would be usingMFC
orATL
, the following article shows the second option: "A Beginner Tutorial for Writing Simple COM/ATL DLL and Using it with .NET"[^].
这篇关于如何将C Dll变成Com Dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文