calling python function from windowproc in win32
Mark Hammond
mhammond at skippinet.com.au
Sat Mar 25 03:30:04 EST 2000
More information about the Python-list mailing list
Sat Mar 25 03:30:04 EST 2000
- Previous message (by thread): Odp: Getting a class attribute
- Next message (by thread): calling python function from windowproc in win32
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Gabor Papp" <rod at inf.bme.hu> wrote in message news:38DB5CF9.8C2011CC at inf.bme.hu... > I suspect some thread problems. I suspect you are correct. The WndProc will need to acquire the thread-lock before calling into Python. The bad news is this is tricky. The good news is that there is code in the win32 extensions you can steal - pywintypes.h has a CEnterLeavePython class that does everything you need... Mark.
- Previous message (by thread): Odp: Getting a class attribute
- Next message (by thread): calling python function from windowproc in win32
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list