COM Server - COMTYPES / PYTHONCOM

2016-07-18 Thread Kasper Jepsen
- Then i started by using COMTYPES, but this do not at all register into the COM catalog on windows - both solutions i can connect to from another python. here is my code - IDL is the same. http://pastebin.com/ke5V5ZbY How do i continue so i can use this server from Teststand or any

comtypes

2014-06-21 Thread peter . balazovic
Dears, I am not sure I am at right place here. Now I've started working with comtypes 1.1.0 package within python 2.7.6.1. I have ActiveX COM object I want access and work with it. I do following from comtypes.client import CreateObject fm = CreateObject(MCB.PCM) dwt = fm.ReadVariable(dwt

Re: comtypes

2014-06-21 Thread John Gordon
In 7b0712bf-68b0-4183-860d-2a39d22b6...@googlegroups.com peter.balazo...@emspin.com writes: print dwt (comtypes.automation.LP_tagVARIANT object at 0x05A8E1C0, comtypes.automation.LP_tagVARIANT object at 0x05A8E210, comtypes.automation.LP_tagVARIANT object at 0x05A8E260, True) by using

Re: comtypes

2014-06-21 Thread peter . balazovic
Hmm, I did that - oleviewer says [id(0x60020002)] HRESULT ReadVariable( [in] VARIANT bsVar, [out, optional] VARIANT* vValue, [out, optional] VARIANT* tValue, [out, optional] VARIANT* bsRetMsg, [out, retval]

Re: comtypes

2014-06-21 Thread Thomas Heller
Am 21.06.2014 09:08, schrieb peter.balazo...@emspin.com: Dears, I am not sure I am at right place here. Now I've started working with comtypes 1.1.0 package within python 2.7.6.1. I have ActiveX COM object I want access and work with it. I do following from comtypes.client import

Re: comtypes

2014-06-21 Thread peter . balazovic
, I am not sure I am at right place here. Now I've started working with comtypes 1.1.0 package within python 2.7.6.1. I have ActiveX COM object I want access and work with it. I do following from comtypes.client import CreateObject fm = CreateObject(MCB.PCM) dwt

Re: comtypes 0.6.2 released

2010-01-18 Thread Thomas Heller
Am 16.01.2010 17:22, schrieb Thomas Heller: I'm happy to announce the 0.6.2 comtypes release: http://sourceforge.net/projects/comtypes/ I forgot to mention what comtypes is, sorry for that: comtypes **comtypes** is a lightweight Python COM package, based on the ctypes FFI library

comtypes CreateObject problem

2009-04-01 Thread Maria R
We get the following, less favourable respons :o( Any advice is greatly appreciated!! Setting is python 2.5.2, windows xp professional SP3, SolidEdge V20 SP10 We have success with comtypes interfacing other software like SmarTeam (PDM/PLM software) and of course Excel and alike. Thnx IDLE

comtypes question

2008-03-17 Thread Jorgen Bodde
Hi All, I am trying to automate a 3rd party application, and all I have to work on is the type library and some documentation. I hope a Python / COM guru can answer this or put me on the right path because I don't know why it does not work. First I imported the typelib with comtypes like; from

Re: comtypes question

2008-03-17 Thread Thomas Heller
the typelib with comtypes like; from comtypes.client import GetModule GetModule(C:\\Program Files\\Seagull\\BarTender\\8.0\\bartend.exe) Which blurbs out a lot of text: # Generating comtypes.gen._D58562C1_E51B_11CF_8941_00A024A9083F_0_8_1 # Generating comtypes.gen.BarTender module

Re: comtypes question

2008-03-17 Thread Jorgen Bodde
to see what might go wrong. I will investigate furter and look at your working example to see what I was missing in my code. I will also subscribe to the comtypes-users mailinglist for future questions. ps. For background info about Bartender, it is a label application and it can be automated by COM

Re: where to ask questions related to comtypes?

2007-01-04 Thread Thomas Heller
wcc schrieb: Hello group, Is there a separate mailing list for comtypes? Or this is the appropriate place to post questions related to this package(from Thomas Heller)? It seems the python-win32 mailing list is the place where the most COM knowledge is, so that would be most appropriate

Re: where to ask questions related to comtypes?

2007-01-04 Thread wcc
Thank you Thomas. On Jan 3, 11:10 pm, Thomas Heller [EMAIL PROTECTED] wrote: wcc schrieb: Hello group, Is there a separate mailing list for comtypes? Or this is the appropriate place to post questions related to this package(from Thomas Heller)?It seems the python-win32 mailing list

where to ask questions related to comtypes?

2007-01-03 Thread wcc
Hello group, Is there a separate mailing list for comtypes? Or this is the appropriate place to post questions related to this package(from Thomas Heller)? Thanks, -- wcc -- http://mail.python.org/mailman/listinfo/python-list

Release: DirectPython 0.7 and DirectX for comtypes 0.1

2006-12-12 Thread Heikki Salo
New versions of DirectPython and DirectX for comtypes are now available at http://directpython.sourceforge.net/ What are these? --- DirectPython is a C++ extension to the Python programming language which provides basic access to DirectX (9.0c) API, including Direct3D, DirectSound

Re: [ctypes-users] comtypes

2006-12-08 Thread Niki Spahiev
Thomas Heller wrote: comtypes seems to gain some attention (comtypes is a pure Python, lightweight COM client and server framework, based on the ctypes Python FFI package.) I'll try to release a new version over the next days. However, I'm wondering what would be the correct list

comtypes

2006-12-07 Thread Thomas Heller
comtypes seems to gain some attention (comtypes is a pure Python, lightweight COM client and server framework, based on the ctypes Python FFI package.) I'll try to release a new version over the next days. However, I'm wondering what would be the correct list to discuss this package

Getting a ValueError with comtypes

2006-10-05 Thread winkatl1213
Hello, I am working with comtypes to interface Microsoft's DirectShow library. First, I found a Type Library on the internet that was created for accessing DirectShow from .NET. It seems that DirectShow only comes with IDL files and no type library. This got me started. The following line

Re: Getting a ValueError with comtypes

2006-10-05 Thread Thomas Heller
[EMAIL PROTECTED] schrieb: Hello, I am working with comtypes to interface Microsoft's DirectShow library. Cool, another one using comtypes! First, I found a Type Library on the internet that was created for accessing DirectShow from .NET. It seems that DirectShow only comes with IDL

Re: Getting a ValueError with comtypes

2006-10-05 Thread winkatl1213
the interface wrappers. Would you mind sharing with me how you do this? I seem to recall a thread on ctypes-users where you were looking for a method to do this. I can't seem to locate what you conclusion was. By the way, I've been using ctypes and comtypes quite a bit lately, and I just wanted to say

Re: Getting a ValueError with comtypes

2006-10-05 Thread Thomas Heller
, I've been using ctypes and comtypes quite a bit lately, and I just wanted to say that they are both excellent. Thanks! Now if only I had an equivalent way to access C++ dlls, I'd no longer have to write typemaps in SWIG. While I'm at it, I thought I would ask you a separate completely

comtypes 0.2 released

2006-02-16 Thread Thomas Heller
comtypes is a pure Python COM package, based on the ctypes FFI library. comtypes replaces and extends the former ctypes.com package. It offers superior support for custom COM interfaces with typelib support. Requires ctypes 0.9.9.3 or later. Limitations: - inprocserver code should work

comtypes prerelease available

2005-08-20 Thread Thomas Heller
I have uploaded an early preview release for comtypes. As you might know, comtypes is a new COM library for Python, based on the ctypes package. There is not yet any documentation, but I hope that at least some of the unittests provided give an impression how it is supposed to be used