RL vs RiskLib : I just copied the code over wrong. Sorry about that.
My problem is that I don't know how to translate the CALL to perl. I have tried and searched through the perldocs, win32::api, this site and googled. When I try the following I get the error "Can not call method "RiskLibVersion" on an undefined value at myprog.pl line 3
use Win32::OLE qw(in with);
my $RL = Win32::OLE->new('RiskLib.RiskLibclass') or die "oops\n";
call $RL->RiskLibVersion(1,$y);
print $y;
Thanks
Stephen
|