[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Calling DLL from Ruby

Sean O'Halpin

7/18/2006 11:32:00 PM

On 7/18/06, Chintakrindi Meghanath
<ChintakrindiMeghana@managementdynamics.com> wrote:
> Hi All
>
> Recently I was trying to call an open source tool (STAF) from Watir(Ruby).
>
> I am supposed to call DDVariableStore.dll
>
> But when the program is being executed, I get the error :-
>
> D:/Program Files/Watir/unittests/11.rb:6:1n 'initialize': GetProcAddress: STAFUtilities or STAFUtilitiesA <RuntimrError>
> from D:/Program Files/Watir/unittests/11.rb:6

That means Win32API couldn't find a method called "STAFUtilities" in
the DLL "DDVariableStore.DLL". I guess you should check to see if it's
really there or if it's defined in some other DLL.

Regards,
Sean