Re: IORegistryEntry->getProperty() method
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Godfrey van der Linden