Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:sourceforge': 0.03; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'scripting': 0.09; 'terry': 0.09; 'subject:python': 0.11; 'assume': 0.11; 'extensions': 0.13; 'bitbucket': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject: \n ': 0.16; 'subject:accessing': 0.16; 'subject:which': 0.16; 'url:pywin32': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'windows': 0.19; 'subject:) ': 0.20; "i'd": 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'language.': 0.27; 'easiest': 0.27; 'header:X-Complaints-To:1': 0.28; 'app.': 0.29; 'invoke': 0.29; "i'm": 0.29; 'install': 0.29; 'url:source': 0.30; 'figure': 0.30; 'automation': 0.33; 'handle': 0.33; 'to:addr:python-list': 0.33; 'pm,': 0.35; 'received:org': 0.36; 'subject: (': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'header:Received:5': 0.40; 'provide': 0.62; 'believe': 0.69; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: accessing an OLE Automation (IDispatch) server from python which requires the use of "out params" Date: Mon, 10 Dec 2012 15:58:33 -0500 References: <38a14001-82b6-4a91-b3ad-2cb5c8ee580d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <38a14001-82b6-4a91-b3ad-2cb5c8ee580d@googlegroups.com> 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: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1355173145 news.xs4all.nl 6925 [2001:888:2000:d::a6]:48581 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34563 On 12/10/2012 2:13 PM, bitbucket wrote: > I have an existing Windows application which provides an OLE > Automation (IDispatch) interface. I'm not able to change that > interface. I'd like to call it from a scripting language. I figure > this would provide a nice quick way to invoke on the app. I believe the easiest way to do that is to install the pywin extensions http://sourceforge.net/projects/pywin32/?source=directory I assume it can handle out params. -- Terry Jan Reedy