| || |
Can\'t add reference to specified file
One of our products is an API which can be used with c and VB. I am trying to use Testpartner to test the API functions. I think the 1st step is to add a reference to the lib/dll when writing a script.
However, when I try to add a ref I am getting the response
"Cannot add reference to the specified file".
The steps I am following are
Tools -> References -> Browse -> browse to where the dll is and select dll -> Error message.
Is this what I should be doing ?
And should it be the dll file that I am trying to create a ref to ? I have also tried to point it towards the .bas file with the same results.
Any help would be appreciated ..
Re: Can\'t add reference to specified file
I've sorted this out.
Out API did not contain references. So I created a shared module based on the .bas file. I updated the function refs to point to the local DLL
Declare Function BeginInstance Lib "C:\x.DLL" () As Long
Seems to work fine now