#1 pyhook: allow bundling inside zipfiles (for py2exe)

closed-fixed
nobody
None
5
2008-07-23
2006-08-02
Anonymous
No

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.

Discussion

  •  
    Attachments
  • Peter Parente
    Peter Parente
    2008-07-23

    • status: open --> open-fixed
     
  • Peter Parente
    Peter Parente
    2008-07-23

    Logged In: YES
    user_id=624776
    Originator: NO

    Fixed in patch by Christian Packmann.

     
  • Peter Parente
    Peter Parente
    2008-07-23

    • status: open-fixed --> closed-fixed
     
  • nanotube
    nanotube
    2008-07-30

    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.

     
  • nanotube
    nanotube
    2008-07-30

    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.