Quote Originally Posted by krtxmrtz
I have to make sure what exactly the error was but at the moment I'm sitting in front of a computer where VC++ is not installed. think it was something like "It was not possible to add a reference to this library" when I tried to add the reference in the VB project/references menu.
But you're not making an ActiveX DLL so you will not be able to set a reference to it. What you're making is a standard DLL file so you will need to use a Declare statement just as with API calls.