ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> py2exe-users
py2exe-users
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved