Re: Writing to disk using filter scheme driver
Re: Writing to disk using filter scheme driver
- Subject: Re: Writing to disk using filter scheme driver
- From: Parav Pandit <email@hidden>
- Date: Mon, 4 Apr 2005 21:36:58 +0100 (BST)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden