I think you can do this with the Declare statement, at least that has
worked for us -- see the "Declare (statement)" topic in the E-Basic Help
facility. You will have to also first register the DLL with Windows for
this to work. You might do the registration manually with the regsvr32
command, typically that gets done for us using the commercial installer
that came with the DLL.
-- David McFarlane