I have a dll that returns an ADODB recordset. I keep getting an OLE=HASH error when I call this function. Please help. Here's the code:
use Win32::OLE; $RS = new Win32::OLE("ADODB.RecordSet");
use Win32::OLE; $hl = new Win32::OLE('MY DLL REGISTERED IN ASSEMBLY.CLASS WITHIN DLL') or die $!;
$RS = $hl->FUNCTION WITHIN DLL THAT RETURNS a RECORDSET;
$h3 = $RS.RecordCount;
print $h3;
I can call other functions within DLL that return a string OK, but not ones that return a recordset. The print $h3 shows the hash error.
In reply to accepting recordset from .net dll by jeffteal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |