469,602 Members | 1,826 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Another gen_py coclass_interfaces COM problem

I need a win32com guru please...

i'm not python expert, but i understand mi trouble...

Requirements:
Hook EyesWeb 3.2.0 (http://www.eyesweb.org) COM Module with Python
2.0.1
i used win32com libraries and generate an early binding for module
(using prog_id)

the problem is the file generated has a Class EyeswebSystem that is a
CoClassBaseClass with coclass_interfaces Like IEywApplication that is
a DispatchBaseClass...

after reading other post with similar problem i saw that the other
problems are about coclass_interfaces with objects DispatchBaseClass
only...

i try

"""
import win32com.client
Eyes=win32com.client.Dispatch('Eyesweb.Remotesyste m')
App=win32com.client.Dispatch(Eyes,resultCLSID='{cl sid}')
"""

an have more accurate result

"""
Eyes <COMObject Eyesweb.Remotesystem> App

<win32com.gen_py.EyesWeb System.IEywApplication instance at
0x19740672>
"""

but i can't reach "EyesWeb System.IEywApplication.Methods()" yet

with diferents try and error, i get com_errors like:
'the server threw an exception'
'invalid access to memory location'

here is a link of my gen_py generated file, easy for understand class
structure of the module with a browse class

http://www.kitesurf.cl/flash/0971C42...E2A40x0x1x0.py

Sorry my English... Mark Hammond if are you out there give me some
light
Jul 18 '05 #1
1 1711
Still Waiting

vi***@esfera.cl (Cristian Hasbun from Chile) wrote in message news:<d4**************************@posting.google. com>...
I need a win32com guru please...

i'm not python expert, but i understand mi trouble...

Requirements:
Hook EyesWeb 3.2.0 (http://www.eyesweb.org) COM Module with Python
2.0.1
i used win32com libraries and generate an early binding for module
(using prog_id)

the problem is the file generated has a Class EyeswebSystem that is a
CoClassBaseClass with coclass_interfaces Like IEywApplication that is
a DispatchBaseClass...

after reading other post with similar problem i saw that the other
problems are about coclass_interfaces with objects DispatchBaseClass
only...

i try

"""
import win32com.client
Eyes=win32com.client.Dispatch('Eyesweb.Remotesyste m')
App=win32com.client.Dispatch(Eyes,resultCLSID='{cl sid}')
"""

an have more accurate result

"""
Eyes <COMObject Eyesweb.Remotesystem> App

<win32com.gen_py.EyesWeb System.IEywApplication instance at
0x19740672>
"""

but i can't reach "EyesWeb System.IEywApplication.Methods()" yet

with diferents try and error, i get com_errors like:
'the server threw an exception'
'invalid access to memory location'

here is a link of my gen_py generated file, easy for understand class
structure of the module with a browse class

http://www.kitesurf.cl/flash/0971C42...E2A40x0x1x0.py

Sorry my English... Mark Hammond if are you out there give me some
light

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Raaijmakers, Vincent (IndSys,GE Interlogix) | last post: by
10 posts views Thread by Sorin Dolha [MCSD .NET] | last post: by
10 posts views Thread by Sorin Dolha [MCSD .NET] | last post: by
reply views Thread by Alan Meyer | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.