First you need to confirm if this is an ActiveX DLL or a standard Windows
DLL.
The former:
- Needs registering
- You access it with by create an instance of its exposed classes
The latter:
- Does not need registering
- You call functions with the Declare statement similar to that you have
shown.
As for the error, it may be because one/some files that this DLL requires
are missing. Get a copy of Dependency Walker to check.
NickHK
"Mike Iacovou" <(E-Mail Removed)> wrote in message
news

B57AAFB-4AB7-48B3-BF2A-(E-Mail Removed)...
> thanks jim
>
> using the declaration with the DLL in the same folder fails with a "not
> found" error... I guess it expects either a registered library or an
absolute
> path...