Board index » delphi » VB "implements" feature in Delphi 4

VB "implements" feature in Delphi 4

Hi,

does anybody now how to implement the VB 6 "implements <library>" feature
in Delphi?
I have to create an ActiveX DLL with a given interface.

Thanks, J?rg

 

Re:VB "implements" feature in Delphi 4


Hi,

The easiest way to do this is in the Type Library editor. Click on the Class
that you have created, then in the right pane you will see an implements
tab, if you right click in here you can add another interface from the drop
down list.

Rgds Tim.

Quote
J?rg Arndt <JAr...@t-online.de> wrote in message

news:7vhm97$c1d1@forums.borland.com...
Quote
> Hi,

> does anybody now how to implement the VB 6 "implements <library>" feature
> in Delphi?
> I have to create an ActiveX DLL with a given interface.

> Thanks, J?rg

Re:VB "implements" feature in Delphi 4


Hi,

- Create a new "ActiveX library"
- "Import" the type library with the given interface you want.
- Create a new "COM object"
- type the (Delphi) name of the given interface in the "implements"
  edit box.
- in the unit created, fill the implementation part
- that's all

Bye.

Sent via Deja.com http://www.deja.com/
Before you buy.

Other Threads