From: Jimmy Retzlaff <jimmy@re...> - 2006-04-02 16:02:10
Michael Foord wrote:
> Does anyone happen to know if py2exe will work with the python24.dll
> supplied with Stackless Python ?
Normal Python apps build and run just fine with Stackless. I'm not sure
about apps that leverage the unique features of Stackless, but I don't
see why they wouldn't work fine.
From: Michael Foord <fuzzyman@vo...> - 2006-04-02 19:51:43
Jimmy Retzlaff wrote:
> Michael Foord wrote:
>> Does anyone happen to know if py2exe will work with the python24.dll
>> supplied with Stackless Python ?
> Normal Python apps build and run just fine with Stackless. I'm not sure
> about apps that leverage the unique features of Stackless, but I don't
> see why they wouldn't work fine.
Well py2exe patches the python24.dll to achieve some of its magic.
Stackless replaces this dll with its own.
I guess the only answer is to try it. :-)
When I get round to it I'll report back.
From: Frank Moore <francis.moore@ra...> - 2006-04-04 13:31:23
I'm getting an error when I try and view a COM DLL with the OLE/COM
Object Viewer from MSVS6.
The COM DLL is built using py2exe (I've tried versions 0.5.4, 0.6.3 and
0.6.5) under Python 2.4.1 and Win XP.
The error I get is:
OLE/COM Object Viewer Error: IClassFactory::CreateInstance failed.
Unspecified Error E_FAIL ($800004005)
Googling hasn't turned up anything and I'm at a loss to understand what
I need to do to make it work.
The original code was built with 0.5.4 and works (i.e. does what it's
intended to do - allow a UI object to interrogate methods in the DLL)
but I still can't view it in the OLE/COM Viewer. Since then, I've had to
change the original code to add some more features and rebuild it
and now the software, as well as still being unviewable, has also
stopped working. The UI code that calls methods in the COM DLL
throws an error of 'Method not found' any time it calls one of the new
methods I've added. It's almost as if py2exe is building the DLL
without the new methods. Or building the previous version. But that's
not physically possible. The files are changed and py2exe is running
on the latest version of the code.
I'm not even sure that the two problems are related (althought they
probably are), but it would at least help to be able to view the object
in the OLE Object Viewer. It's also possible that the problem may not be
connected to py2exe either, but I'm running out of ideas.
So if anybody has any ideas or thoughts, however tenuous, I'd be