[python-win32] Re: how to load 2 python COM DLLs in single app?
Roger Binns
rogerb at rogerbinns.com
Tue Nov 2 07:44:28 CET 2004
Thomas Heller wrote:
> 3b. A hacky way may be this: It would be possible imo to create an PE
> file parser/editor, which takes some dlls, reads the PE headers,
> import tables, and whatever it needs and builds a new executable by
> combining the code segments and creating new import tables. I don't
> know if that's really possible...
I would be overjoyed if there was something that could make a single
executable merging together all the DLLs and the stub loader, especially if
I could also feed it a zip file that gets added to the end.
It would then be possible to make single file executables that don't
need any form of installation. Unfortunately they would be quite large ...
There was some discussion of this back on c.l.p a few weeks ago, as
TCL already has it in the form of TclKit. (They "cheat" by requiring
the extensions implement a particular API that means the dynamic
linking can be done by the stub loader instead of the ld.so equivalent).
Roger
More information about the Python-win32
mailing list