How can I create a COM DLL (class library) in Delphi?
It is for use on very old 开发者_如何学PythonPCs where .NET is not, and will not be, installed and will replace, and slightly extend, a VB 6 DLL for which I have the source code.
You create a new ActiveX Library. You find it in the ActiveX tab. (File - New - Other - ActiveX - ActiveX Library)
Here you have how to do it:
An Introduction to COM Programming with Delphi
Go through this site which is good start point to develop COM in Delphi. It is having tutorials, articles, and code on COM technologies in Delphi. It might be helpful to you
精彩评论