Installation and Setup
Two packages are available from Sam Rushing’s site.
CallDLL consists of a Python extension
module,
calldll.pyd
that exposes a low-level API for loading
modules and calling functions within them. The DynWin package builds
on this to offer a much easier high-level API, and includes the GUI
library mentioned previously. The package includes a key module,
windll.py
that provides a higher-level wrapper
around CallDLL making it easy to use. In fact,
only two files are needed for dynamic loading:
calldll.pyd, and windll.py,
both of which should be installed on the PythonPath. These are
included with the examples for the chapter, which can be found at
http://starship.python.net/crew/mhammond/ppw32/.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access