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

Jay Koutavas jay@heynow.com
Tue, 13 Aug 2002 21:52:47 -0400


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?

/Jay


At 4:42 PM -0500 on 8/13/02, Paul Miller wrote:

>>Long time no see. :)
>
>Hey Jay - how are things out east?
>
>>What was the resolution on this? My Mac OS X Carbon application is 
>>failing the same way when I like to PythonCoreCarbon. It barfs at 
>>initialization time.
>
>I think it may have been the way Mac Python needs to be initialized. 
>Are you using the "Mac" way of init?
>
>         ::PyMac_Initialize();
>
>instead of
>
>         ::Py_Initialize();
>
>?
>
>--
>Paul T. Miller | paul@fxtech.com | http://www.fxtech.com
>
>
>_______________________________________________
>Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig


-- 
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
   Jay Koutavas                         mailto:jay@heynow.com    
   Heynow Software                      http://www.heynow.com
   Windham, New Hampshire, USA
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''