Creating an Active Server Component in Delphi can be accomplished in the following steps.
Create the ActiveX library project.
Add an automation object to the project library.
Add the required methods and properties to the object.
Implement the methods inside a unit that Delphi creates for you.
Compile and register your component.
We will look into each of the above steps in detail. In Step 1 you抣l learn how to create an ActiveX library using Delphi.
Step 1 : Creating the library
Open Delphi IDE
Select File| New. Select the ActiveX tab
这里有一些资料
Active Server Components with Borland Delphi3
用Dephi3创建ASP组件