Accessing Visual Basic ActiveX dll

Hi
I have a function in a VB 5 ActiveX dll which i am having problems accessing
using delphi 3.

The function takes a integer and returns an integer. Using Delphi i have
created
a type library. But how do i declare it in delphi module.

Thanks