At the very least the library has to be registered as a COM object so that it can be invoked by VBA. You do this with "regsvr32" at the command prompt like:
c:\temp>regsvr32 foo.dll
where foo.dll is the IM COM library (don't know what it is offhand, sorry)