Re: [Py2exe-users] py2exe bundles and win32com.mapi.mapi
by Thomas Heller other posts by this author
Nov 22 2006 3:40AM messages near this date
[Py2exe-users] py2exe bundles and win32com.mapi.mapi
|
Re: [Py2exe-users] py2exe bundles and win32com.mapi.mapi
Leonard "paniq" Ritter schrieb:
> hi everybody,
>
> following seems to fail in a bundle 1 exe or com server created with
> py2exe:
>
> from win32com.mapi import mapi
>
> this seems to cause a crash in MemoryGetProcAddress during the binary
> search.
>
> anyone got an idea?
I think that is because py2exe is bundling mapi32.dll as well into the zip-archive.
mapi32.dll should probably be in the EXCLUDED_DLLS list in py2exe\build_exe.py,
as a workaround you can use the "--dll-excludes=mapi32.dll" command line switch.
Does it work then for you? (it does for me, but I have only checked if I can
import win32com.mapi.mapi)
Thomas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Py2exe-users mailing list
Py2exe-users@[...].net
https://lists.sourceforge.net/lists/listinfo/py2exe-users
Thread:
Leonard "paniq" Ritter
Thomas Heller
Leonard Ritter
Thomas Heller
|