I have them:

----- Original Message ----
From: Shane Clark <[EMAIL PROTECTED]>
To: comtypes-users@lists.sourceforge.net
Sent: Wednesday, November 21, 2007 1:24:38 PM
Subject: Re: [comtypes-users] Getting name of control under mouse at time of 
click


On Nov 21, 2007 6:24 AM, Radu Adrian Ciora <[EMAIL PROTECTED]>
 wrote:
>
> Hi,
> I've tried to use your code, but it gives me thw following error:
>
> Traceback (most recent call last):
>   File "D:\Test\new.py", line 5, in ?
>
>     from comtypes.client import wrap
>   File "c:\Python24\Lib\site-packages\comtypes\__init__.py", line 1,
 in ?
>     import new, types, sys, os
>   File "D:\Test\new.py", line 5, in ?
>
>     from comtypes.client import wrap
>   File "c:\Python24\Lib\site-packages\comtypes\client\__init__.py",
 line 25,
> in
> ?
>     import comtypes.automation
>   File "c:\Python24\Lib\site-packages\comtypes\automation.py", line
 4, in ?
>     from comtypes import IUnknown, GUID, IID, STDMETHOD, BSTR,
 COMMETHOD,
> COMErr
> or
> ImportError: cannot import name IUnknown
>
> Can you tell me what's wrong?
> Thanks,
> Radu.
>
It looks like you do not have the needed Python modules installed. I
probably should have been explicit about that. To get my code working
you will need:
-pywin32
-pyhook
-comtypes
All 3 of them should be very easy to find with Google. They're all up
on sourceforge. Also, the code does have some intermittent issues for
me where it will throw ugly errors, but it does not crash and mostly
works. I'm working on figuring it out.

-Shane Clark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users






      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to