Hi,
I call IoGetDeviceObjectPointer in my driver. The call used to work fine
until I changed somethings. Now I keep getting an Access violation where I
call IoGetDeviceObjectPointer. Nothing related to the call has changed. I
have checked in the Debugger and the arguments seem to be fine. The first
one is the name of a valid Object, and nothing about the last 2 arguments
has changed since it was working. What could have gone wrong? Any ideas?
Thanks
Mayank
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
You’re in denial … and we all go through denial at times … (sorry, it’s
that danged degree in Psychology) Something directly or indirectly related
to legally acquiring that object pointer has negatively changed. That is
obvious, you admit that, what you don’t know is what you did incorrectly.
So back out your changes ant then add them back in one at a time until it
either works the way you want, or it fails. When it fails then the last
change is the faux pox. If it does not fail after you replace the changes
and acquires the device object pointer, then you fat fingered a “fix”.
(Ooops, I deleted 2 lines instead of one.)
Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net
-----Original Message-----
From: Mayank Ajmera [mailto:xxxxx@yahoo.com]
Sent: Sunday, February 10, 2002 10:23 AM
To: NT Developers Interest List
Subject: [ntdev] Access Violation on IoGetDeviceObjectPointer…
Hi,
I call IoGetDeviceObjectPointer in my driver. The call used to work fine
until I changed somethings. Now I keep getting an Access violation where I
call IoGetDeviceObjectPointer. Nothing related to the call has changed. I
have checked in the Debugger and the arguments seem to be fine. The first
one is the name of a valid Object, and nothing about the last 2 arguments
has changed since it was working. What could have gone wrong? Any ideas?
Thanks
Mayank
You are currently subscribed to ntdev as: xxxxx@broadstor.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
Well, I have already gone through that. There are some forced changes
because of the changes in the Drivers below this one. But none of the
changes seem even remotely connected to this problem. I have checked the
version tree of the files and done a diff as well.
Anyways what I want to know is what kind of situation will cause something
like this to happen. I mean what is it about this call that NT does not
like and is giving me an access violation.
thanks
Mayank
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