Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'syntax': 0.03; 'context': 0.05; 'calls.': 0.07; 'from:name:bitbucket': 0.09; 'pointers': 0.09; 'reference)': 0.09; 'to:addr:comp.lang.python': 0.09; 'url:archive': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'subject: \n ': 0.16; 'subject:accessing': 0.16; 'subject:which': 0.16; 'suggestion.': 0.16; 'wrote:': 0.17; 'basically': 0.17; 'parameters': 0.20; 'subject:) ': 0.20; "i'd": 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'paul': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'skip:[ 10': 0.26; 'december': 0.32; '11,': 0.33; 'automation': 0.33; 'problem': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85': 0.35; 'but': 0.36; "didn't": 0.36; 'subject: (': 0.36; 'passed': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'your': 0.60; 'url:aspx': 0.60; 'believe': 0.69; 'url:14': 0.93 Newsgroups: comp.lang.python Date: Tue, 11 Dec 2012 07:37:55 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.229.66.143; posting-account=_dxy0QoAAAD9TKmsbQw-qXFKhMwXoPgn References: <38a14001-82b6-4a91-b3ad-2cb5c8ee580d@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 24.229.66.143 MIME-Version: 1.0 Subject: Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" From: bitbucket To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1355242863 news.xs4all.nl 6963 [2001:888:2000:d::a6]:57079 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!nerim.net!novso.com!news.skynet.be!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:34632 On Tuesday, December 11, 2012 3:42:35 AM UTC-5, Paul K=F6lle wrote: > Before switching technologies I'd check if this solves your problem=20 >=20 > http://geekswithblogs.net/Lance/archive/2009/01/14/pass-by-reference-para= meters-in-powershell.aspx=20 >=20 > TL;DR IMHO "out" parameters are basically pointers (pass by reference)=20 >=20 > and need to be passed like GetSettingValue("name", [ref]$value)... >=20 Thanks for the suggestion. I believe the [ref] syntax was one of the thing= s I tried, but it didn't work in the context of OLE Automation (IDispatch) = calls.