Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34632

Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params"

Return-Path <coder1024@gmail.com>
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 <mailman.716.1355215375.29569.python-list@python.org>
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> <mailman.716.1355215375.29569.python-list@python.org>
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 <coder1024@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.735.1355242863.29569.python-list@python.org> (permalink)
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

Show key headers only | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-10 11:13 -0800
  Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" Terry Reedy <tjreedy@udel.edu> - 2012-12-10 15:58 -0500
    Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-10 13:39 -0800
      Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-12-10 18:39 -0500
      Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" Mark Hammond <skippy.hammond@gmail.com> - 2012-12-11 12:16 +1100
        Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-11 07:48 -0800
          Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-11 07:54 -0800
          Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-11 07:54 -0800
          Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" Mark Hammond <mhammond@skippinet.com.au> - 2012-12-12 08:55 +1100
        Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-11 07:48 -0800
    Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-10 13:39 -0800
  Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" Paul Kölle <paul@subsignal.org> - 2012-12-11 09:42 +0100
    Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-11 07:37 -0800
    Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" bitbucket <coder1024@gmail.com> - 2012-12-11 07:37 -0800

csiph-web