| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On May 30, 2005, at 9:34 PM, Jenis Shah wrote:
This is most likely a bug in your software. CFNumberGetValue is present in all versions of Mac OS X and is also available in the CarbonLib library as far back as Mac OS 8.6. The (CFNumberGetValue + 60) is the place in which the system function that it crashed. When a system function crashes like this, it's usually because you passed it an illegal value. Make sure that the CFNumberRef is non-nil, that the CFNumberType is one of the enumerated CFNumberType values, and that the valuePtr you pass points to allocated, initialized memory of a sufficient size to hold your expected result. Often forgetting to pass a pointer in the third value will provoke this crash.
Using a debugger to verify that your input values are correct is probably a more useful first step in debugging crashes like this than worrying about misconfigured system software. Chris |
_______________________________________________ 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: | |
| >Running application on Vanilla Machine!!! (From: Jenis Shah <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.