I am trying to use a VB6 dll created by another programmer from Ruby.
To see what was I opened it in Visual Studio’s object browser. It has
a series of classes with their methods and properties. I want to acess
the Load method in the SalesContract class. Here’s my code (which is
@ops = Win32API.new(‘SMD Client.dll’,‘SalesContract::Load’,‘I’,‘P’)
Here’s the error message I’m getting
initialize': GetProcAddress: SalesContract::Load or SalesContract::LoadA (RuntimeError) from C:/Data/Projects/Smd_Ruby/testdll.rb:2:innew’
I’m not sure that this is even possible. Any help would be greatly