[python-win32] Possibility of calling static functions using window/thread handles?
Gabriel Genellina
gagenellina at softlab.com.ar
Tue Aug 23 09:27:10 CEST 2005
At Monday 22/8/2005 15:09, Kevin White wrote:
>I don't know much about Windows API programming, so this may be a
>laughable question. Is it possible to use the
>win32process.CreateProcess() function to launch a program then somehow use
>the returned window/thread handle to invoke a static method. My guess is
>that the process would have to somehow magically be converted back to its
>native class/object and I don't know if that's really feasible. Thoughts?
I don't believe you could do that without some form of inter process
communication, like a named pipe, or DDE. (try the DDE demo)
Gabriel Genellina
Softlab SRL
More information about the Python-win32
mailing list