[Spambayes-checkins] spambayes/Outlook2000 addin.py,1.127,1.128
Mark Hammond
mhammond at users.sourceforge.net
Wed Mar 3 22:13:46 EST 2004
Update of /cvsroot/spambayes/spambayes/Outlook2000
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31926
Modified Files:
addin.py
Log Message:
set pythoncom.frozen along with sys.frozen in our nasty registration hacks
Index: addin.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/addin.py,v
retrieving revision 1.127
retrieving revision 1.128
diff -C2 -d -r1.127 -r1.128
*** addin.py 9 Feb 2004 03:59:24 -0000 1.127
--- addin.py 4 Mar 2004 03:13:44 -0000 1.128
***************
*** 1538,1542 ****
if hasattr(sys, "frozen"):
sys.frozendllhandle = win32api.LoadLibrary("outlook_addin.dll")
! sys.frozen = "dll"
# Without this, com registration will look at class.__module__, and
# get all confused about the module name holding our class in the DLL
--- 1538,1542 ----
if hasattr(sys, "frozen"):
sys.frozendllhandle = win32api.LoadLibrary("outlook_addin.dll")
! pythoncom.frozen = sys.frozen = "dll"
# Without this, com registration will look at class.__module__, and
# get all confused about the module name holding our class in the DLL
More information about the Spambayes-checkins
mailing list