Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFM to Mach-O Conversion Crash in CodeWarrior



Hi Mark, 

On Wednesday, October 26, 2005, at 00:04AM, Mark D. Gerl <email@hidden> wrote:

>In the, "I've pulled out all my hair" files... HELP!
>
>Using CodeWarrior 9.6, I've managed to get a new Mach-O target to  
>cleanly compile and link from our Carbon CFM codebase.  However,  
>during the app initialization phase (after InitCursor()), it crashes  
>in the Carbon framework (when calling Menu Manager code).  If I  
>change the order of things, it'll crash elsewhere (e.g., on SysBeep 
>()).  Yet, clearly, some Carbon calls work OK (InitCursor(),  
>UseResFile(), etc.).

Are you calling back into CFM land from any Mach-O functions? If so, remember that you have to do another conversion at that point as well. That's usually where this trips me up.

-Chilton
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >CFM to Mach-O Conversion Crash in CodeWarrior (From: "Mark D. Gerl" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.