Hi Mark,
I am able to run MakePy successfully, at least as far as I can tell.
Does that affect your conclusion?
Is there any way I can figure out what library it is looking for when
I call the following (from your earlier example)?
d.GetTypeInfo(0)
As that also raises the library not
wonder, is there any way to log IDispatch operations? If so, that
might tell me what the third-party operation was doing differently.
I would be happy to hear any other suggestions.
Thanks,
Alec
On Fri, Sep 12, 2008 at 2:28 PM, Alec Munro [EMAIL PROTECTED] wrote:
(I just noticed my last two
can do the same thing
through Python.
Sorry I didn't think of this sooner.
Alec
On Wed, Sep 17, 2008 at 4:10 PM, Alec Munro [EMAIL PROTECTED] wrote:
I'm back.
I've taken a crack at rewriting the DLL to export the methods I need
through IDispatch. Unfortunately, what I discovered (and I'm
in _basicUHI.tlb
I'll see if I can reproduce this exactly in Python, and if I get any
different results.
Alec
On Wed, Sep 17, 2008 at 4:28 PM, Alec Munro [EMAIL PROTECTED] wrote:
If you hear a loud slapping sound, that's my hand and forehead. :)
I just recalled that the third-party gives us a test
need through
IDispatch.
Thanks again for your time,
Alec
On Fri, Sep 12, 2008 at 1:49 PM, Alec Munro [EMAIL PROTECTED] wrote:
Hi Mark,
Ok, with my first object, everything works as you demonstrated. With
my second object (the first one CastTo(,I2)), I get the Library not
Registered message
get
the impression that InvokeTypes is something of Microsofts, and
there's isn't really any way to observe what it's doing?
Thanks, hopefully this helps someone.
Alec
On Tue, Sep 2, 2008 at 1:44 PM, Alec Munro [EMAIL PROTECTED] wrote:
I'm guessing, based on the lack of responses
don't know what it corresponds to.
Hopefully that sheds some light on the situation (or at worst, doesn't
confuse things further).
Thanks again,
Alec
On Wed, Sep 10, 2008 at 4:59 PM, Tim Roberts [EMAIL PROTECTED] wrote:
Alec Munro wrote:
Ok, perhaps this will be useful.
(Neither
which library it is that is
not registered?
Thanks again,
Alec
On Fri, Aug 29, 2008 at 2:47 PM, Alec Munro [EMAIL PROTECTED] wrote:
Thanks Mark.
After a couple of misfires, I think I figured out how to get CastTo to
work (the docstring is practically non-existent in the version I have,
perhaps
()
Traceback (most recent call last):
...
File C:\Python25\lib\site-packages\win32com\client\__init__.py,
line 449, in _ApplyTypes_
dispid, 0, wFlags, retType, argTypes, *args),
com_error: (-2147352573, 'Member not found.', None, None)
Alec
On Thu, Aug 28, 2008 at 10:33 AM, Alec Munro
From these error messages, it seems like perhaps there's a problem
with the registration of the type library that contains the
interfaces. I'm not really sure how to fix that, or if that is even
the problem.
Any ideas?
Thanks,
Alec Munro
___
python-win32
Oh, and on re-reading, I do realize that the DLL itself doesn't
implement those interfaces. There's a class within the DLL that does
that. :)
On Thu, Aug 28, 2008 at 10:32 AM, Alec Munro [EMAIL PROTECTED] wrote:
Hi List,
Hopefully I have my terminology right, I'm pretty new to COM and C
, retType, argTypes, *args),
com_error: (-2147352573, 'Member not found.', None, None)
Alec
On Thu, Aug 28, 2008 at 10:33 AM, Alec Munro [EMAIL PROTECTED] wrote:
Oh, and on re-reading, I do realize that the DLL itself doesn't
implement those interfaces. There's a class within the DLL that does
12 matches
Mail list logo