Mailing Lists: Apple Mailing Lists

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

IORegistryEntry->getProperty() method



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 ?

Brian Jorgage


 _______________________________________________
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



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.