On Sep 10, 2020, at 7:24 AM, june y <qwertyjun...@gmail.com> wrote:
> 
>  <https://stackoverflow.com/posts/63814377/timeline>i am studying 
> win32process of pywin32.
> 
> but, i encounter a problem.
> 
> problem is I don't know win32process.CreateRemoteThread wants what arguments
> 

CreateRemoteThread does not work with Python functions.  It is a C API, and it 
expects to be handed the address of a C function in the other process.  id(x) 
returns to you an address, but it’s an address that has to be interpreted by 
the Python interpreter run-time, and the Python run-time will not be part of 
the other process.

If you want to do threading in Python, use the ’thread’ or ’threading’ modules. 
 Don’t use win32process for that.
— 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to