in reply to Re: Re: Re: Win32::OLE and WMI
in thread Win32::OLE and WMI

Thanks for trying to help, Courage. I've been using WMI with perl for a long time and the basic stuff all works very nicely. I think my crux of the problem is that this is the first time that I have tried to return an object from an OLE call where the object reference is supplied as an argument rather than as a result of the call. ie. This always works:
$objectIwant = $otherobject->Method();
but this does not:
$returncode = $otherobject->Method($objectIwant);

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Win32::OLE and WMI
by Courage (Parson) on Feb 03, 2004 at 11:34 UTC
    documentation inside Win32::OLE::Variant tells us how to use "byval" in Win32::OLE.

    See my comment in main thread...

    Courage, the Cowardly Dog