Allows pyHook to be bundled inside a zipfile (i.e., for
py2exe bundled executables). Instead of getting the
module's handle with GetModuleHandle through its
filename, use NULL which will work irregardless of the
filename.
Note: still causes an immediate crash when compiled with py2exe with bundle_files=1 (single-file exe) or 2, only works with bundle_files=3 (default), which does no bundling.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ah, never mind... it seems that the cause of that crash is the pywin32 extensions, not pyhook. a simple pyhook example, using the latest CVS head, compiles just fine to a single-file executable with py2exe.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=624776
Originator: NO
Fixed in patch by Christian Packmann.
Logged In: YES
user_id=1173666
Originator: NO
Note: still causes an immediate crash when compiled with py2exe with bundle_files=1 (single-file exe) or 2, only works with bundle_files=3 (default), which does no bundling.
Logged In: YES
user_id=1173666
Originator: NO
ah, never mind... it seems that the cause of that crash is the pywin32 extensions, not pyhook. a simple pyhook example, using the latest CVS head, compiles just fine to a single-file executable with py2exe.