[Pythonmac-SIG] more on MacPython/OSX/shared lib

Jack Jansen Jack.Jansen@cwi.nl
Wed, 14 Aug 2002 10:42:40 +0200


On Wednesday, August 14, 2002, at 03:52 , Jay Koutavas wrote:

> I am using PyMac_Initialize(). It's barfing at *application 
> initialization* time. Before the debugger even comes up, before main() 
> even gets called. I think it has something to do with all those 
> resources on the DLL. Seems to me, it's kind of bad form to weak-link 
> to a DLL with resources by dropping the DLL (PythonCoreCarbon) into the 
> CW project. I think what I want is a stub library to link to, and then 
> have PythonCoreCarbon load at runtime?

This sounds vaguely plausible, except for the fact that then I would 
have expected other people to run into the problem too.

Why don't you try creating the stub library, and if it solves your 
problem put a patch in sourceforge and I'll add it to the general 
distribution...
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -