1,Component\New component 2,Write your component here. TFoo etc. 3,Save. 4,Open \Delphi\lib\dcluser??.dpk 5,click "Add" and add this .pas file into package. 6,click 'compile' button.(Is it installed??)7,New\ActiveX 8,Select your decendent class name what 'TFoo' and click ok. 9,that's all.
delphi6带的那个,好象有选项,可以解决这个问题。
新建(New->ActiveX->ActiveX Control)!
2,Write your component here. TFoo etc.
3,Save.
4,Open \Delphi\lib\dcluser??.dpk
5,click "Add" and add this .pas file into package.
6,click 'compile' button.(Is it installed??)7,New\ActiveX
8,Select your decendent class name what 'TFoo' and click ok.
9,that's all.