accessing an OLE Automation (IDispatch) server from python which requires the use of "out params"
bitbucket
coder1024 at gmail.com
Tue Dec 11 10:37:55 EST 2012
On Tuesday, December 11, 2012 3:42:35 AM UTC-5, Paul Kölle wrote:
> Before switching technologies I'd check if this solves your problem
>
> http://geekswithblogs.net/Lance/archive/2009/01/14/pass-by-reference-parameters-in-powershell.aspx
>
> TL;DR IMHO "out" parameters are basically pointers (pass by reference)
>
> and need to be passed like GetSettingValue("name", [ref]$value)...
>
Thanks for the suggestion. I believe the [ref] syntax was one of the things I tried, but it didn't work in the context of OLE Automation (IDispatch) calls.
More information about the Python-list
mailing list