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: IORegistryEntry->getProperty() method



Can we see the paniclog? You don't have to create an OSObject at all, there must be something wrong with the property table you are trying to read.

Godfrey

On Jan 14, , at 15:46, Brian Jorgage wrote:

The IORegistryEntry->getproperty() methods all return objects of type
OSObject*.  The problem I have is that the kernel is continually
crashing when I try to use this method.  I think I need to instantiate
an object to hold the return value but OSObject is an abstract base
class and hence cannot be directly instantiated.

So how does one handle/instantiate the OSObject so the kernel doesn't
crash ?

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

This email sent to email@hidden
References: 
 >IORegistryEntry->getProperty() method (From: "Brian Jorgage" <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.