<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user">
    <title>gmane.comp.python.comtypes.user</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/631"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/630"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/629"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/628"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/627"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/626"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/625"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/624"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/623"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/622"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/621"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/620"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/619"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/618"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/617"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/616"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/615"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/614"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/613"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.comtypes.user/612"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/631">
    <title>Re: Passing a VARIANT (array of objects)[SEC=UNCLASSIFIED]</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/631</link>
    <description>&lt;pre&gt;Do you know what the target function is expecting to receive packaged in the VARIANT?  And what are you trying to pass into it?

If comtypes' default conversions aren't working for you, you should be able to instantiate a VARIANT directly and populate it manually - you may wish to read the source for the VARIANT structure in automation.py (imported as comtypes.automation) to understand the implementation.

-------------------------&amp;gt; "These thoughts are mine alone!" &amp;lt;---------
Andrew MacIntyre           Operations Branch
tel:   +61 2 6219 5356     Communications Infrastructure Division
fax:   +61 2 6253 3277     Australian Communications &amp;amp; Media Authority
email: andrew.macintyre-IAnLTBhEB4+6c6uEtOJ/EA&amp;lt; at &amp;gt;public.gmane.org&amp;lt;mailto:andrew.macintyre-IAnLTBhEB4+6c6uEtOJ/EA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;            http://www.acma.gov.au/

From: Luciano Strassacappa [mailto:luciano.strassacappa-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org]
Sent: Saturday, 4 May 2013 5:19 AM
To: comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gman&lt;/pre&gt;</description>
    <dc:creator>Andrew MacIntyre</dc:creator>
    <dc:date>2013-05-06T00:51:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/630">
    <title>Re: Passing a VARIANT (array of objects)[SEC=UNCLASSIFIED]</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/630</link>
    <description>&lt;pre&gt;Andrew,

Thanks for posting but already tried and I couldn't find the proper
conversion

Luciano


2013/5/2 Andrew MacIntyre &amp;lt;Andrew.MacIntyre-IAnLTBhEB4+6c6uEtOJ/EA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;



&lt;/pre&gt;</description>
    <dc:creator>Luciano Strassacappa</dc:creator>
    <dc:date>2013-05-03T19:19:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/629">
    <title>Re: Passing a VARIANT (array of objects)[SEC=UNCLASSIFIED]</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/629</link>
    <description>&lt;pre&gt;Yes - see http://starship.python.net/crew/theller/comtypes/#converting-data-types for some notes about this.

-------------------------&amp;gt; "These thoughts are mine alone!" &amp;lt;---------
Andrew MacIntyre           Operations Branch
tel:   +61 2 6219 5356     Communications Infrastructure Division
fax:   +61 2 6253 3277     Australian Communications &amp;amp; Media Authority
email: andrew.macintyre-IAnLTBhEB4+6c6uEtOJ/EA&amp;lt; at &amp;gt;public.gmane.org&amp;lt;mailto:andrew.macintyre-IAnLTBhEB4+6c6uEtOJ/EA&amp;lt; at &amp;gt;public.gmane.org&amp;gt;            http://www.acma.gov.au/

From: Luciano Strassacappa [mailto:luciano.strassacappa-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org]
Sent: Friday, 3 May 2013 3:57 AM
To: comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
Subject: [comtypes-users] Passing a VARIANT (array of objects)

Hi,

I need to pass object type (VARIANT) is that possible using comtypes?

Thanks

--
Luciano Strassacappa

NOTICE: This email message is for the sole use of the intended recipient(s) 
 and may contain confidential and privileged i&lt;/pre&gt;</description>
    <dc:creator>Andrew MacIntyre</dc:creator>
    <dc:date>2013-05-03T01:04:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/628">
    <title>Passing a VARIANT (array of objects)</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/628</link>
    <description>&lt;pre&gt;Hi,

I need to pass object type (VARIANT) is that possible using comtypes?

Thanks

&lt;/pre&gt;</description>
    <dc:creator>Luciano Strassacappa</dc:creator>
    <dc:date>2013-05-02T17:57:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/627">
    <title>Re: Hi ComTypes Help</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/627</link>
    <description>&lt;pre&gt;Someone correct me if I'm wrong but what you said should work, as should
del mtc.

Sent from my mobile phone
On Mar 29, 2013 12:25 AM, "dlp blore" &amp;lt;dlp.blore-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2_______________________________________________
comtypes-users mailing list
comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/comtypes-users
&lt;/pre&gt;</description>
    <dc:creator>Alicia Chen</dc:creator>
    <dc:date>2013-03-29T08:04:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/626">
    <title>Hi ComTypes Help</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/626</link>
    <description>&lt;pre&gt;Hi,

I have recently started using ComTypes instead of win32com for
automation using COM interfaces.

In the following example, how to successfully close/un-initialize a
comtype object

        from comtypes.client import CreateObject
        filepath=r"C:\Temp\BERLINEMRR_LBTR_15118.docx"
        mtc = CreateObject('ContentTrackingAPI.ManualTagClient')
        pTagFileList = mtc.getFileTagList(filepath)

Will mtc = None suffice?

win32com had something like this

win32com.client.pythoncom.CoUninitialize()


It is important because I am using OOP framework in designing Keywords
and the object has to be unintialized at the end of its use

Thanks

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaple&lt;/pre&gt;</description>
    <dc:creator>dlp blore</dc:creator>
    <dc:date>2013-03-29T07:24:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/625">
    <title>Re: REGCLS_MULTIPLEUSE not working for local servers on Windows 8?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/625</link>
    <description>&lt;pre&gt;I have a tentative alternate solution.

We're using the out-of-proc server in a slightly non-standard way. Normally
it would get launched when someone attempts to create an object it
implements, and then server.localserver.run() will exit when the last
reference count to the last object is released, causing the server to go
away. Ours is actually a process that's supposed to be running all the time
(although it has some UI so it's not a service), so the behavior of exiting
the message loop when the last object is released is bad for us. I used to
get around this by just calling localserver.run() in a while loop, but in
Windows 8 with comtypes this is not working. Instead of letting it exit and
calling it in a loop, I'm just going to create an object and hold a
reference to it myself so the loop doesn't exit.

If anyone is interested in figuring out why calling run() multiple times in
the same process is not working, the C++ sample code (VS 2008) that does
more or less the same thing (except that it works) is&lt;/pre&gt;</description>
    <dc:creator>Alicia Chen</dc:creator>
    <dc:date>2013-03-19T19:57:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/624">
    <title>Re: REGCLS_MULTIPLEUSE not working for localservers on Windows 8?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/624</link>
    <description>&lt;pre&gt;Am 19.03.2013 00:12, schrieb Alicia Chen:

Alicia,

I have not yet used comtypes on Windows 8.  Currently downloading win8 
from my MSDN subscription...

Thomas



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
&lt;/pre&gt;</description>
    <dc:creator>Thomas Heller</dc:creator>
    <dc:date>2013-03-19T07:44:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/623">
    <title>Re: REGCLS_MULTIPLEUSE not working for localservers on Windows 8?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/623</link>
    <description>&lt;pre&gt;I tried a similar setup with a sample C++ server/client and it works fine.
I haven't yet managed to determine what the differences are. Can anyone
shed some light on this?


--Alicia


On Fri, Mar 15, 2013 at 3:49 PM, Alicia Chen &amp;lt;owlishness-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar_______________________________________________
comtypes-users mailing list
comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/comtypes-users
&lt;/pre&gt;</description>
    <dc:creator>Alicia Chen</dc:creator>
    <dc:date>2013-03-18T23:12:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/622">
    <title>REGCLS_MULTIPLEUSE not working for local serverson Windows 8?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/622</link>
    <description>&lt;pre&gt;We pass REGCLS_MULTIPLEUSE as the flag for an out-of-proc server. This
worked fine on Windows 7, but Windows 8 seems to ignore this flag and
attempts to launch a new instance for any call other than the first.

I tested this with the sample code given
here&amp;lt;http://starship.python.net/crew/theller/comtypes/server.html&amp;gt;
with
only a slight modification, changing the server so that it stays running
and continually processes calls, to emulate what our program does.

                while True:
                    comtypes.server.localserver.run([MyObjectImpl])

On Win7, if you launch the server, you can run the client multiple times
and the calls will always go to the running instance of the server. On
Win8, the first client call behaves as expected, but all subsequent calls
cause a new instance of the server to be launched, and CreateObject
eventually fails with the following error:

Creating MyObject object now!
Traceback (most recent call last):
  File "tools\sample_com_obj\sample_client.py", line 13, in &amp;lt;modul&lt;/pre&gt;</description>
    <dc:creator>Alicia Chen</dc:creator>
    <dc:date>2013-03-15T22:49:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/621">
    <title>Re: the comtypes bug?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/621</link>
    <description>&lt;pre&gt;Hi Luciano,

Please download &amp;amp; install comtypes-0.6.2.win32.exe package from
http://sourceforge.net/projects/comtypes/files/comtypes/0.6.2/ to fix
your error. You have probably installed comtypes-0.6.2-win32-py3.exe
which is meant for Python 3.

Regards,
Suraj

On Mon, Mar 11, 2013 at 4:33 PM, Luciano Strassacappa
&amp;lt;luciano.strassacappa-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
&lt;/pre&gt;</description>
    <dc:creator>Suraj Barkale</dc:creator>
    <dc:date>2013-03-11T11:07:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/620">
    <title>Re: the comtypes bug?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/620</link>
    <description>&lt;pre&gt;I had to install python 32 bits in my notebook (windows 8 64 bits)

Luciano
 Em 10/03/2013 20:53, "Michael Curran" &amp;lt;mick-3sE95IY0H75g9hUCZPvPmw&amp;lt; at &amp;gt;public.gmane.org&amp;gt; escreveu:

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
comtypes-users mailing list
comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/comtypes-users
&lt;/pre&gt;</description>
    <dc:creator>Luciano Strassacappa</dc:creator>
    <dc:date>2013-03-11T11:03:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/619">
    <title>Re: the comtypes bug?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/619</link>
    <description>&lt;pre&gt;The error shows that comtypes.client code is using Python 3 syntax.

Where did you get Comtypes 0.6.2 from? are you sure it was a Python 2 
build and not a Python 3 one?

Mick


On 10/03/2013 1:45 PM, vic wrote:


&lt;/pre&gt;</description>
    <dc:creator>Michael Curran</dc:creator>
    <dc:date>2013-03-10T23:23:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/618">
    <title>the comtypes bug?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/618</link>
    <description>&lt;pre&gt;when i import comtypes.client
i see :

Traceback (most recent call last):
  File "&amp;lt;pyshell#0&amp;gt;", line 1, in &amp;lt;module&amp;gt;
    import comtypes.client
  File "D:\program files
(x86)\python27\lib\site-packages\comtypes\__init__.py", line 826
    class _compointer_base(c_void_p, metaclass=_compointer_meta):
                                              ^
SyntaxError: invalid syntax

i used win7 64bit  python 2.7.3 comtypes 0.6.2
and anyone can help me?
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
comtypes-users mailing list
comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/li&lt;/pre&gt;</description>
    <dc:creator>vic</dc:creator>
    <dc:date>2013-03-10T03:45:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/617">
    <title>help Autocad and comtypes</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/617</link>
    <description>&lt;pre&gt;I'm using comtypes to acess AutoCAD and I´m in trouble with arrays and
Python....

I need help....there is a LightweightPolyline object (eg.
*&amp;lt;POINTER(IAcadLWPolyline)
ptr=0x332f054 at 6ffe800&amp;gt;) *I need to transform this object into an array
to create a Region (AddRegion). I don´t understand how to build this array
correctly.

My goal is to create a solid.....but before the AddExtrudedSolid I need to
create a Region (AddRegion).

The problem is to bulid the array correctly. The examle below is to draw a
"L" shape....user must inform the width and tickness.

Thanks again,

Luciano

from pyautocad import *
from array import *
from math import radians

acad = Autocad()
desenho = acad.model
documento = acad.doc

aba = acad.doc.Utility.GetString(1,'Digite ABA da cantoneira: ')
espessura = acad.doc.Utility.GetString(1,'Digite ESPESSURA da cantoneira: ')

insersao = acad.doc.Utility.GetPoint(APoint(0,0,0),'Pto de insercao: ')
p1 = array('d', insersao)

p2 = acad.doc.Utility.PolarPoint(p1, radians(0), float(aba))
&lt;/pre&gt;</description>
    <dc:creator>Luciano Strassacappa</dc:creator>
    <dc:date>2013-01-15T19:57:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/616">
    <title>_ctypes.COMError: (-2147352568, 'Bad variable type.', (None, None, None, 0, None))</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/616</link>
    <description>&lt;pre&gt;Hi,

The following runs fine in 32bit ie (windows 7), but raise exception when runs
in 64bit ie (windows 8), any idea?

Thanks,
Nam



from comtypes.client import CreateObject
import time

def main():
    ie = CreateObject('InternetExplorer.Application')
    try:
        ie.Visible = True
        ie.Navigate('www.google.com')
        time.sleep(1)
        q = ie.Document.getElementsByName('q')[0]
        q.setAttribute('value', 'python')
        time.sleep(1)
    finally:
        ie.Quit()

if __name__ == '__main__':
    main()


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
&lt;/pre&gt;</description>
    <dc:creator>Nam</dc:creator>
    <dc:date>2013-01-01T16:15:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/615">
    <title>Re: Problems with comtypes and Python 3.3</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/615</link>
    <description>&lt;pre&gt;There are some reports that comtypes works with Python 3. Also PyPi lists 3.0 and 3.1. Therefore, I think it is some Python 3.3 specific problem.

Sebastian

From: Jim [mailto:j.gumbley-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org]
Sent: Wednesday, December 19, 2012 10:50 AM
To: comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
Subject: Re: [comtypes-users] Problems with comtypes and Python 3.3

I could be wrong but I think you need to use a 2.* series python to leverage the comtypes libraries.

Jim.

On 19 December 2012 09:32, Sebastian Alexander Wagner &amp;lt;sebastian.wagner&amp;lt; at &amp;gt;cpr.ku.dk&amp;lt;mailto:sebastian.wagner-ezJ5szPdVHJaa/9Udqfwiw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;&amp;gt; wrote:
I tried to use the excellent comtypes package under Python 3.3. Unfortunately, I get the following error message when I import the library:

import comtypes, comtypes.client, comtypes.automation

  File "C:\Python33\lib\site-packages\comtypes\__init__.py", line 1050, in &amp;lt;module&amp;gt;
    class IUnknown(object, metaclass=_cominterface_meta):
  File "C:\Py&lt;/pre&gt;</description>
    <dc:creator>Sebastian Alexander Wagner</dc:creator>
    <dc:date>2012-12-19T10:30:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/614">
    <title>Re: Problems with comtypes and Python 3.3</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/614</link>
    <description>&lt;pre&gt;I could be wrong but I think you need to use a 2.* series python to
leverage the comtypes libraries.

Jim.


On 19 December 2012 09:32, Sebastian Alexander Wagner &amp;lt;
sebastian.wagner-ezJ5szPdVHJaa/9Udqfwiw&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
comtypes-users mailing list
comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/comtypes-users
&lt;/pre&gt;</description>
    <dc:creator>Jim</dc:creator>
    <dc:date>2012-12-19T09:49:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/613">
    <title>Problems with comtypes and Python 3.3</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/613</link>
    <description>&lt;pre&gt;I tried to use the excellent comtypes package under Python 3.3. Unfortunately, I get the following error message when I import the library:

import comtypes, comtypes.client, comtypes.automation

  File "C:\Python33\lib\site-packages\comtypes\__init__.py", line 1050, in &amp;lt;module&amp;gt;
    class IUnknown(object, metaclass=_cominterface_meta):
  File "C:\Python33\lib\site-packages\comtypes\__init__.py", line 282, in __new__
    class _(partial.partial, POINTER(p)):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Metaclass conflicts are way over my Python skills. It would be great if somebody has any idea how to solve this issue.

Thank you very much!

Sebastian

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-a&lt;/pre&gt;</description>
    <dc:creator>Sebastian Alexander Wagner</dc:creator>
    <dc:date>2012-12-19T09:32:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/612">
    <title>comtypes in Python 3.2 and Python 3.3</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/612</link>
    <description>&lt;pre&gt;I'm wondering whether comtypes is compatible with Python 3.2. 

 

Thanks. 


Aung. 


Aptina, LLC / 3080 North First Street, San Jose, CA 95134

This e-mail and any attachments contain confidential information and are solely for the review and use of the intended recipient. If you have received this e-mail in error, please notify the sender and destroy this e-mail and any copies.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________
comtypes-users mailing list
comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/comtypes-users
&lt;/pre&gt;</description>
    <dc:creator>Aung Naing</dc:creator>
    <dc:date>2012-11-16T21:37:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.comtypes.user/611">
    <title>Re: Error accessing collections in specificapplication</title>
    <link>http://permalink.gmane.org/gmane.comp.python.comtypes.user/611</link>
    <description>&lt;pre&gt;


Hi Thomas,

Both commands result in the same "Subscript out of range" error.

Josh
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov_______________________________________________
comtypes-users mailing list
comtypes-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&amp;lt; at &amp;gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/comtypes-users
&lt;/pre&gt;</description>
    <dc:creator>Joshua Arnott</dc:creator>
    <dc:date>2012-11-09T11:12:27</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.comtypes.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.comtypes.user</link>
  </textinput>
</rdf:RDF>
