Hi Geeks,
I have an issue reg. Wrapper Dlls.
I am novice to Wrapper DLLs.
Experts pls. excuse me.
I need to implement a Wrapper DLL around a driver library, that actually
encapsulates
the kernel mode implementation from the enduser.
I have a LIB that was produced from Kernelmode.
(built as in sources file: TARGETTYPE=LIBRARY. )
I have built a wrapper DLL ( build sources specifies: TARGETTYPE=DYNLINK,
UMTYPE=windows DLLBASE=0x10000000)
remember, this DLL had to be linked with <wdm.lib> for the reasons otherwise
was giving linker errors for example xxxxx()@)
But, when i was trying to link this dll into a win32 application…
the DLL was not getting loaded & GetLastError() is returning a value… 998
ERROR_NOACCESS) no access to memory location.
I am confused whether the DLL built was usermode or kernel mode…
if it is usermode then, why GetLastError() is returning error 998)
Is this a proper way to write Wrapper DLLs…??
Any help or pointers appreciated.
Thanx in adv,
Ashok.
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</wdm.lib>
Hello all,
It’s been 2 days I have posted a request. But, It seems no body have any
Idea abt the questions i have posted…!
This is really disappointing… ! I never thought I could get no answers/help
for some technical questions here.
But i am still hopeful…some one would definitely help me resolve this
issue…
Rgds,
Ashok.
----- Original Message -----
From: “Ashok Kumar Vijaya Srinivas Kadavakollu”
To: “NT Developers Interest List”
Sent: Wednesday, July 04, 2001 7:49 PM
Subject: [ntdev] how to write Wrapper DLLS ???
> Hi Geeks,
>
> I have an issue reg. Wrapper Dlls.
> I am novice to Wrapper DLLs.
> Experts pls. excuse me.
>
> I need to implement a Wrapper DLL around a driver library, that actually
> encapsulates
> the kernel mode implementation from the enduser.
> I have a LIB that was produced from Kernelmode.
> (built as in sources file: TARGETTYPE=LIBRARY. )
>
> I have built a wrapper DLL ( build sources specifies: TARGETTYPE=DYNLINK,
> UMTYPE=windows DLLBASE=0x10000000)
> remember, this DLL had to be linked with <wdm.lib> for the reasons
otherwise
> was giving linker errors for example > xxxxx()@)
> But, when i was trying to link this dll into a win32 application…
> the DLL was not getting loaded & GetLastError() is returning a value… 998
> ERROR_NOACCESS) no access to memory location.
> I am confused whether the DLL built was usermode or kernel mode…
> if it is usermode then, why GetLastError() is returning error 998)
> Is this a proper way to write Wrapper DLLs…??
>
> Any help or pointers appreciated.
>
> Thanx in adv,
> Ashok.
>
>
>
>
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@wipro.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</wdm.lib>
Hi ashok,
u know july 4th is US holiday… So all the stuff guys has taken looooong
weekend…
So u must wait for another … few days…
----- Original Message -----
From: “Ashok Kumar Vijaya Srinivas Kadavakollu”
To: “NT Developers Interest List”
Sent: Friday, July 06, 2001 10:40 AM
Subject: [ntdev] Re: how to write Wrapper DLLS ???
> Hello all,
>
> It’s been 2 days I have posted a request. But, It seems no body have any
> Idea abt the questions i have posted…!
> This is really disappointing… ! I never thought I could get no
answers/help
> for some technical questions here.
> But i am still hopeful…some one would definitely help me resolve this
> issue…
>
> Rgds,
> Ashok.
>
>
> ----- Original Message -----
> From: “Ashok Kumar Vijaya Srinivas Kadavakollu”
>
> To: “NT Developers Interest List”
> Sent: Wednesday, July 04, 2001 7:49 PM
> Subject: [ntdev] how to write Wrapper DLLS ???
>
>
> > Hi Geeks,
> >
> > I have an issue reg. Wrapper Dlls.
> > I am novice to Wrapper DLLs.
> > Experts pls. excuse me.
> >
> > I need to implement a Wrapper DLL around a driver library, that actually
> > encapsulates
> > the kernel mode implementation from the enduser.
> > I have a LIB that was produced from Kernelmode.
> > (built as in sources file: TARGETTYPE=LIBRARY. )
> >
> > I have built a wrapper DLL ( build sources specifies:
TARGETTYPE=DYNLINK,
> > UMTYPE=windows DLLBASE=0x10000000)
> > remember, this DLL had to be linked with <wdm.lib> for the reasons
> otherwise
> > was giving linker errors for example > > xxxxx()@)
> > But, when i was trying to link this dll into a win32 application…
> > the DLL was not getting loaded & GetLastError() is returning a value…
998
> > ERROR_NOACCESS) no access to memory location.
> > I am confused whether the DLL built was usermode or kernel mode…
> > if it is usermode then, why GetLastError() is returning error 998)
> > Is this a proper way to write Wrapper DLLs…??
> >
> > Any help or pointers appreciated.
> >
> > Thanx in adv,
> > Ashok.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@wipro.com
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@wipro.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</wdm.lib>
Like you would write any other DLL. But dont ask us how to write a DLL , we
dont have any ideea.
----- Original Message -----
From: “Ashok Kumar Vijaya Srinivas Kadavakollu”
To: “NT Developers Interest List”
Sent: Friday, July 06, 2001 8:10 AM
Subject: [ntdev] Re: how to write Wrapper DLLS ???
> Hello all,
>
> It’s been 2 days I have posted a request. But, It seems no body have any
> Idea abt the questions i have posted…!
> This is really disappointing… ! I never thought I could get no
answers/help
> for some technical questions here.
> But i am still hopeful…some one would definitely help me resolve this
> issue…
>
> Rgds,
> Ashok.
>
>
> ----- Original Message -----
> From: “Ashok Kumar Vijaya Srinivas Kadavakollu”
>
> To: “NT Developers Interest List”
> Sent: Wednesday, July 04, 2001 7:49 PM
> Subject: [ntdev] how to write Wrapper DLLS ???
>
>
> > Hi Geeks,
> >
> > I have an issue reg. Wrapper Dlls.
> > I am novice to Wrapper DLLs.
> > Experts pls. excuse me.
> >
> > I need to implement a Wrapper DLL around a driver library, that actually
> > encapsulates
> > the kernel mode implementation from the enduser.
> > I have a LIB that was produced from Kernelmode.
> > (built as in sources file: TARGETTYPE=LIBRARY. )
> >
> > I have built a wrapper DLL ( build sources specifies:
TARGETTYPE=DYNLINK,
> > UMTYPE=windows DLLBASE=0x10000000)
> > remember, this DLL had to be linked with <wdm.lib> for the reasons
> otherwise
> > was giving linker errors for example > > xxxxx()@)
> > But, when i was trying to link this dll into a win32 application…
> > the DLL was not getting loaded & GetLastError() is returning a value…
998
> > ERROR_NOACCESS) no access to memory location.
> > I am confused whether the DLL built was usermode or kernel mode…
> > if it is usermode then, why GetLastError() is returning error 998)
> > Is this a proper way to write Wrapper DLLs…??
> >
> > Any help or pointers appreciated.
> >
> > Thanx in adv,
> > Ashok.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@wipro.com
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: danp@jb.rdsor.ro
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</wdm.lib>
Dear Ashok,
If you BUY my time you get a right to complain about the promptness of
my service. If you come BEGGING FOR HELP, you can wait patiently for
somebody to answer your confused question. If I understand your confused
question correctly, you are somehow attempting to build a user mode dll
that calls kernel mode functions. That is not going to work. Your user
mode dll can provide an API for your kernel driver, or whatever it is
you are implementing in kernel mode, but it (your user mode dll) can
only use the various user mode APIs provided by Microsoft to do so. The
way this (a user mode API library for a kernel mode driver,) is
generally implemented is by using custom IOCTL operations to communicate
with the kernel component from the dll and providing nice functional
interfaces in the dll for your applications to call.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ashok
Kumar Vijaya Srinivas Kadavakollu
Sent: Friday, July 06, 2001 1:10 AM
To: NT Developers Interest List
Subject: [ntdev] Re: how to write Wrapper DLLS ???
Hello all,
It’s been 2 days I have posted a request. But, It seems no
body have any Idea abt the questions i have posted…! This is
really disappointing… ! I never thought I could get no
answers/help for some technical questions here. But i am
still hopeful…some one would definitely help me resolve this
issue…
Rgds,
Ashok.
----- Original Message -----
From: “Ashok Kumar Vijaya Srinivas Kadavakollu”
> To: “NT Developers Interest List”
> Sent: Wednesday, July 04, 2001 7:49 PM
> Subject: [ntdev] how to write Wrapper DLLS ???
>
>
> > Hi Geeks,
> >
> > I have an issue reg. Wrapper Dlls.
> > I am novice to Wrapper DLLs.
> > Experts pls. excuse me.
> >
> > I need to implement a Wrapper DLL around a driver library, that
> > actually encapsulates the kernel mode implementation from
> the enduser.
> > I have a LIB that was produced from Kernelmode.
> > (built as in sources file: TARGETTYPE=LIBRARY. )
> >
> > I have built a wrapper DLL ( build sources specifies:
> > TARGETTYPE=DYNLINK, UMTYPE=windows DLLBASE=0x10000000)
> remember, this
> > DLL had to be linked with <wdm.lib> for the reasons
> otherwise
> > was giving linker errors for example > > xxxxx()@)
> > But, when i was trying to link this dll into a win32
> application… the
> > DLL was not getting loaded & GetLastError() is returning a
> value… 998
> > ERROR_NOACCESS) no access to memory location.
> > I am confused whether the DLL built was usermode or kernel
> mode… if
> > it is usermode then, why GetLastError() is returning error 998) Is
> > this a proper way to write Wrapper DLLs…??
> >
> > Any help or pointers appreciated.
> >
> > Thanx in adv,
> > Ashok.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> xxxxx@wipro.com
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@tellink.net
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</wdm.lib>
Hi all,
I apologize for my earlier mail.
Since, i was in a time critical situation to get my things work,
and confused how to get done…, in a desparate need,
I was little impatient, and had to hurt some of u guys.
I request u all, Please excuse me for a novice mistake.
special apologies to Mark…
Excuse me mark…
btw I have got some clue with ur mail mark,
Hope u can extend ur help in future…,
Regards,
Ashok.
----- Original Message -----
From: “Mark Roddy”
To: “NT Developers Interest List”
Sent: Friday, July 06, 2001 5:53 PM
Subject: [ntdev] Re: how to write Wrapper DLLS ???
> Dear Ashok,
>
> If you BUY my time you get a right to complain about the promptness of
> my service. If you come BEGGING FOR HELP, you can wait patiently for
> somebody to answer your confused question. If I understand your confused
> question correctly, you are somehow attempting to build a user mode dll
> that calls kernel mode functions. That is not going to work. Your user
> mode dll can provide an API for your kernel driver, or whatever it is
> you are implementing in kernel mode, but it (your user mode dll) can
> only use the various user mode APIs provided by Microsoft to do so. The
> way this (a user mode API library for a kernel mode driver,) is
> generally implemented is by using custom IOCTL operations to communicate
> with the kernel component from the dll and providing nice functional
> interfaces in the dll for your applications to call.
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Ashok
> > Kumar Vijaya Srinivas Kadavakollu
> > Sent: Friday, July 06, 2001 1:10 AM
> > To: NT Developers Interest List
> > Subject: [ntdev] Re: how to write Wrapper DLLS ???
> >
> >
> > Hello all,
> >
> > It’s been 2 days I have posted a request. But, It seems no
> > body have any Idea abt the questions i have posted…! This is
> > really disappointing… ! I never thought I could get no
> > answers/help for some technical questions here. But i am
> > still hopeful…some one would definitely help me resolve this
> > issue…
> >
> > Rgds,
> > Ashok.
> >
> >
> > ----- Original Message -----
> > From: “Ashok Kumar Vijaya Srinivas Kadavakollu”
> >
> > To: “NT Developers Interest List”
> > Sent: Wednesday, July 04, 2001 7:49 PM
> > Subject: [ntdev] how to write Wrapper DLLS ???
> >
> >
> > > Hi Geeks,
> > >
> > > I have an issue reg. Wrapper Dlls.
> > > I am novice to Wrapper DLLs.
> > > Experts pls. excuse me.
> > >
> > > I need to implement a Wrapper DLL around a driver library, that
> > > actually encapsulates the kernel mode implementation from
> > the enduser.
> > > I have a LIB that was produced from Kernelmode.
> > > (built as in sources file: TARGETTYPE=LIBRARY. )
> > >
> > > I have built a wrapper DLL ( build sources specifies:
> > > TARGETTYPE=DYNLINK, UMTYPE=windows DLLBASE=0x10000000)
> > remember, this
> > > DLL had to be linked with <wdm.lib> for the reasons
> > otherwise
> > > was giving linker errors for example > > > xxxxx()@)
> > > But, when i was trying to link this dll into a win32
> > application… the
> > > DLL was not getting loaded & GetLastError() is returning a
> > value… 998
> > > ERROR_NOACCESS) no access to memory location.
> > > I am confused whether the DLL built was usermode or kernel
> > mode… if
> > > it is usermode then, why GetLastError() is returning error 998) Is
> > > this a proper way to write Wrapper DLLs…??
> > >
> > > Any help or pointers appreciated.
> > >
> > > Thanx in adv,
> > > Ashok.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as:
> > xxxxx@wipro.com
> > > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@tellink.net
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@wipro.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</wdm.lib>