[python-win32] Implementing custom com interface, passing it to another com object for callbacks

2006-12-06 Thread johnny loops
I have been pining over implementing what seems to be a VB custom com interface for some time now, so I thought I would post to the list to see if anyone could help. I have a com component on which I have run makepy. The function generates a couple of classes with functions and callbacks that

Re: [python-win32] EasyDialogs - typeList

2006-12-06 Thread Tim Roberts
Axiom X11 wrote: I am trying to write a dialog the opens a video file. ... What I want to do is have it show Video Files (*.avi;*.mpg;*.mpeg) This idea is hinted at on this page: http://www.averdevelopment.com/python/EasyDialogs.html But the example doesn't seem to work (or perhaps I

Re: [python-win32] Implementing custom com interface, passing it to another com object for callbacks

2006-12-06 Thread Thomas Heller
johnny loops schrieb: I have been pining over implementing what seems to be a VB custom com interface for some time now, so I thought I would post to the list to see if anyone could help. I have a com component on which I have run makepy. The function generates a couple of classes with

Re: [python-win32] Implementing custom com interface, passing it to another com object for callbacks

2006-12-06 Thread johnny loops
Thanks, these references are really helpful, and I think I understand a lot more of the path using comtypes. Continuing with my pseudo code example-- this is what I think I should do: -run GetModule() on the library, which should create the interface foo -Create a class implementing foo

Re: [python-win32] Compiling a Python Windows application

2006-12-06 Thread James Matthews
PYPY would help because it is said to compile python programs what i would also recommend is prex and pysco On 12/4/06, Tim Roberts [EMAIL PROTECTED] wrote: Bob Gailer wrote: So maybe try your Python suggestion, if I can get it to work. You showed it as Python being started first and then

Re: [python-win32] screen capture and win32gui.GetDesktopWindow()

2006-12-06 Thread James Matthews
Can you just call a GUI api that interfaces directly with the graphics card? On 12/6/06, Tim Roberts [EMAIL PROTECTED] wrote: Ray Schumacher wrote: I've been mulling screen capture code. I tried PIL's ImageGrab().grab() (with pymedia) but find PIL's method to be pretty slow, ~4grabs per

Re: [python-win32] screen capture and win32gui.GetDesktopWindow()

2006-12-06 Thread Gabriel Genellina
At Wednesday 6/12/2006 21:32, Ray Schumacher wrote: I've been mulling screen capture code. I tried PIL's ImageGrab().grab() (with pymedia) but find PIL's method to be pretty slow, ~4grabs per second max with no other processes. pymedia is pretty quick once I hand it the data. There has to be

Re: [python-win32] screen capture and win32gui.GetDesktopWindow()

2006-12-06 Thread RayS
At 05:02 PM 12/6/2006, Tim Roberts wrote: Ray Schumacher wrote: I've been mulling screen capture code. I tried PIL's ImageGrab().grab() (with pymedia) but find PIL's method to be pretty slow, ~4grabs per second max with no other processes. pymedia is pretty quick once I hand it the data.