Using external Dll

Hello everybody,

I have a question about using an external .dll in Delphi 5. I recently
bought Delphi 5.
Until now I used Delphi 2 in which I used the following statement :

x := CreateOleObject( 'external.ownclass').

The class I used there was made in Visual Basic and part of an 'ActiveX
dll'. But in Delphi 5 it is not possible to do this. How can I do this in
Delphi 5?

Thanks,
Arjan Bas (arjan....@wxs.nl)