开发者

Howto create ATL/C++ ActiveX DLL in Visual Studio 2005

开发者 https://www.devze.com 2023-02-11 03:00 出处:网络
I need to create an ActiveX DLL (not a control). I know that VB6 was able to create this project, but I would like to write this DLL with C++.

I need to create an ActiveX DLL (not a control). I know that VB6 was able to create this project, but I would like to write this DLL with C++. VS2005 doesn't support any project template to create such a comp开发者_运维百科onent.

I tried to create a COM DLL with ATL, but I'm not sure that it can be considered as an ActiveX DLL.

How can I convert a COM DLL into an ActiveX DLL? Is it just a matter of implement specific interfaces for ActiveX? Does anyone know which are the differences between a COM DLL, an ActiveX DLL and an ActiveX control?

Regards


A COM DLL is the same thing as an ActiveX DLL. An ActiveX control is an ActiveX/COM DLL that implements certain common interfaces for hosting in a container application.

0

精彩评论

暂无评论...
验证码 换一张
取 消