site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi Yogesh, ffProvider = OSDynamicCast(com_MySoftwareCompany_driver_MyFilterScheme, fProvider); // is this a correct way of casting??? Yes, but you don't need to type cast because fPRovider is already of type com_MySoftwareCompany_driver_MyFilterScheme.
But i am still facing the same problem that "no matching function IOService::DoDriverWrite()"
//com_MySoftwareCompany_driver_MyFilterScheme* fProvider; If this is compilation error, it looks to me that your driver class com_MySoftwareCompany_driver_MyFilterScheme ( NOT com_MySoftwareCompany_MyUserClient) doesn't have declaration and definition of DoDriverWrite() function. and the compiler asking to it's top base class IOServive whether it has the function or not. Regards, Parav Pandit ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony _______________________________________________ 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... This email sent to site_archiver@lists.apple.com