freeze and win32com

Mark Hammond MarkH at ActiveState.com
Thu May 31 23:17:56 EDT 2001


Thomas Heller wrote:

> I'm trying to build a com_dll server with freeze.
> Is this supposed to work?


I don't believe I ever quite got a DLL working with freeze.  It was 
quite some time ago that I last played with it tho.

> When trying to compile, I get compiler errors.
> See below.


pythoncom.h is _supposed_ to handle this:

#ifdef FREEZE_PYTHONCOM
	/* The pythoncom module is being included in a frozen .EXE/.DLL */
# 
define PYCOM_EXPORT

...

So somehow you need to ensure FREEZE_PYTHONCOM is defined.  I can't even 
remember _how_ it is supposed to be defined tho...

Mark.




More information about the Python-list mailing list