STATUS_OBJECT_NOT_FOUND

Hi everybody,
I am stuck up with a very strange problem.
Whenever i load my driver i get a error saying
“Driver cud not be loaded error number 0xc0000034”.

I searched up the google groups and found several
solutions … like somebody had mentioned that it is
becoz the driver is using a lot of memory… the
second one said that the registry entries have some
problems…the third said it is a problem related with
the build type. there were several other comments
about the same problem.

I tried running the driver compiled in free build but
didnt help.I deleted all the registry keys related to
the driver. but still the problem persists.moreover my
driver size is just 6kb.

please suggest me as to what maybe going wrong.

Thanx in advance.
–Harshal .


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.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

Open winerror.h, search for that number. What error do you find is defined
as that number?

-----Original Message-----
From: Rock [mailto:xxxxx@yahoo.com]
Sent: Thursday, August 30, 2001 9:08 AM
To: NT Developers Interest List
Subject: [ntdev] STATUS_OBJECT_NOT_FOUND

Hi everybody,
I am stuck up with a very strange problem.
Whenever i load my driver i get a error saying
“Driver cud not be loaded error number 0xc0000034”.

I searched up the google groups and found several
solutions … like somebody had mentioned that it is
becoz the driver is using a lot of memory… the
second one said that the registry entries have some
problems…the third said it is a problem related with
the build type. there were several other comments
about the same problem.

I tried running the driver compiled in free build but
didnt help.I deleted all the registry keys related to
the driver. but still the problem persists.moreover my
driver size is just 6kb.

please suggest me as to what maybe going wrong.

Thanx in advance.
–Harshal .


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


You are currently subscribed to ntdev as: xxxxx@intel.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

Walk through your driver entry routine and see what is failing …

Pete

Peter Scott
xxxxx@KernelDrivers.com
http://www.KernelDrivers.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Barila, Phil
Sent: Thursday, August 30, 2001 10:33 AM
To: NT Developers Interest List
Subject: [ntdev] RE: STATUS_OBJECT_NOT_FOUND

Open winerror.h, search for that number. What error do you find is defined
as that number?

-----Original Message-----
From: Rock [mailto:xxxxx@yahoo.com]
Sent: Thursday, August 30, 2001 9:08 AM
To: NT Developers Interest List
Subject: [ntdev] STATUS_OBJECT_NOT_FOUND

Hi everybody,
I am stuck up with a very strange problem.
Whenever i load my driver i get a error saying
“Driver cud not be loaded error number 0xc0000034”.

I searched up the google groups and found several
solutions … like somebody had mentioned that it is
becoz the driver is using a lot of memory… the
second one said that the registry entries have some
problems…the third said it is a problem related with
the build type. there were several other comments
about the same problem.

I tried running the driver compiled in free build but
didnt help.I deleted all the registry keys related to
the driver. but still the problem persists.moreover my
driver size is just 6kb.

please suggest me as to what maybe going wrong.

Thanx in advance.
–Harshal .


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@home.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

OOPS, I really should read the whole message, including the subject line,
before I fire my fingers. And it’s not defined in winerror.h, it’s in
ntstatus.h.

Peter’s suggestion is right on, you need to walk through your code and find
out what’s failing. Are you trying to open a file or a registry key? Or
any other object? Or does your DriverEntry appear to succeed but the PnP
manager isn’t satisfied?

-----Original Message-----
From: Pete Scott [mailto:xxxxx@home.com]
Sent: Thursday, August 30, 2001 9:47 AM
To: NT Developers Interest List
Subject: [ntdev] RE: STATUS_OBJECT_NOT_FOUND

Walk through your driver entry routine and see what is failing …

Pete

Peter Scott
xxxxx@KernelDrivers.com
http://www.KernelDrivers.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Barila, Phil
Sent: Thursday, August 30, 2001 10:33 AM
To: NT Developers Interest List
Subject: [ntdev] RE: STATUS_OBJECT_NOT_FOUND

Open winerror.h, search for that number. What error do you find is defined
as that number?

-----Original Message-----
From: Rock [mailto:xxxxx@yahoo.com]
Sent: Thursday, August 30, 2001 9:08 AM
To: NT Developers Interest List
Subject: [ntdev] STATUS_OBJECT_NOT_FOUND

Hi everybody,
I am stuck up with a very strange problem.
Whenever i load my driver i get a error saying
“Driver cud not be loaded error number 0xc0000034”.

I searched up the google groups and found several
solutions … like somebody had mentioned that it is
becoz the driver is using a lot of memory… the
second one said that the registry entries have some
problems…the third said it is a problem related with
the build type. there were several other comments
about the same problem.

I tried running the driver compiled in free build but
didnt help.I deleted all the registry keys related to
the driver. but still the problem persists.moreover my
driver size is just 6kb.

please suggest me as to what maybe going wrong.

Thanx in advance.
–Harshal .


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@home.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@intel.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

I’m thinking you get that when the system attempts to load the driver but
cannot find the image. Is the driver in <windows>\system32\drivers, and if
not did you define the ImagePath value?

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Pete Scott [mailto:xxxxx@home.com]
Sent: Thursday, August 30, 2001 9:47 AM
To: NT Developers Interest List
Subject: [ntdev] RE: STATUS_OBJECT_NOT_FOUND

Walk through your driver entry routine and see what is failing …

Pete

Peter Scott
xxxxx@KernelDrivers.com
http://www.KernelDrivers.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Barila, Phil
Sent: Thursday, August 30, 2001 10:33 AM
To: NT Developers Interest List
Subject: [ntdev] RE: STATUS_OBJECT_NOT_FOUND

Open winerror.h, search for that number. What error do you find is defined
as that number?

-----Original Message-----
From: Rock [mailto:xxxxx@yahoo.com]
Sent: Thursday, August 30, 2001 9:08 AM
To: NT Developers Interest List
Subject: [ntdev] STATUS_OBJECT_NOT_FOUND

Hi everybody,
I am stuck up with a very strange problem.
Whenever i load my driver i get a error saying
“Driver cud not be loaded error number 0xc0000034”.

I searched up the google groups and found several
solutions … like somebody had mentioned that it is
becoz the driver is using a lot of memory… the
second one said that the registry entries have some
problems…the third said it is a problem related with
the build type. there were several other comments
about the same problem.

I tried running the driver compiled in free build but
didnt help.I deleted all the registry keys related to
the driver. but still the problem persists.moreover my
driver size is just 6kb.

please suggest me as to what maybe going wrong.

Thanx in advance.
--Harshal .

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@home.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


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

Also, do a clean build. Sometimes your intermediate file will get
screwed up. The dates do not change, so it links in bad code. This can
happen if VC is loaded when your system crashes or you do a catastrophic
power-down. Even a driver BSOD can cause this.

Jamey
xxxxx@storagecraft.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary Little
Sent: Thursday, August 30, 2001 10:19 AM
To: NT Developers Interest List
Subject: [ntdev] RE: STATUS_OBJECT_NOT_FOUND

I’m thinking you get that when the system attempts to load the driver
but cannot find the image. Is the driver in <windows>\system32\drivers,
and if not did you define the ImagePath value?

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Pete Scott [mailto:xxxxx@home.com]
Sent: Thursday, August 30, 2001 9:47 AM
To: NT Developers Interest List
Subject: [ntdev] RE: STATUS_OBJECT_NOT_FOUND

Walk through your driver entry routine and see what is failing …

Pete

Peter Scott
xxxxx@KernelDrivers.com
http://www.KernelDrivers.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Barila, Phil
Sent: Thursday, August 30, 2001 10:33 AM
To: NT Developers Interest List
Subject: [ntdev] RE: STATUS_OBJECT_NOT_FOUND

Open winerror.h, search for that number. What error do you find is
defined as that number?

-----Original Message-----
From: Rock [mailto:xxxxx@yahoo.com]
Sent: Thursday, August 30, 2001 9:08 AM
To: NT Developers Interest List
Subject: [ntdev] STATUS_OBJECT_NOT_FOUND

Hi everybody,
I am stuck up with a very strange problem.
Whenever i load my driver i get a error saying
“Driver cud not be loaded error number 0xc0000034”.

I searched up the google groups and found several
solutions … like somebody had mentioned that it is
becoz the driver is using a lot of memory… the
second one said that the registry entries have some problems…the third
said it is a problem related with the build type. there were several
other comments about the same problem.

I tried running the driver compiled in free build but
didnt help.I deleted all the registry keys related to
the driver. but still the problem persists.moreover my
driver size is just 6kb.

please suggest me as to what maybe going wrong.

Thanx in advance.
--Harshal .

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger http://im.yahoo.com


You are currently subscribed to ntdev as: xxxxx@intel.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@home.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


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: xxxxx@storagecraft.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

I received this error yesterday, when I used a bad registry string.
In my DriverEntry I allocated memory to save the registry string and copied the string to it, then when I tried to use the copy later I had the problems because I forgot to terminate the string when I initially copied it.

Larry

-----Original Message-----
From: Rock [mailto:xxxxx@yahoo.com]
Sent: Thursday, August 30, 2001 12:08 PM
To: NT Developers Interest List
Subject: [ntdev] STATUS_OBJECT_NOT_FOUND

Hi everybody,
I am stuck up with a very strange problem.
Whenever i load my driver i get a error saying
“Driver cud not be loaded error number 0xc0000034”.

I searched up the google groups and found several
solutions … like somebody had mentioned that it is
becoz the driver is using a lot of memory… the
second one said that the registry entries have some
problems…the third said it is a problem related with
the build type. there were several other comments
about the same problem.

I tried running the driver compiled in free build but
didnt help.I deleted all the registry keys related to
the driver. but still the problem persists.moreover my
driver size is just 6kb.

please suggest me as to what maybe going wrong.

Thanx in advance.
–Harshal .


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


You are currently subscribed to ntdev as: xxxxx@diebold.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

Hi,
I figured out the solution of the problem of the
“your driver cud not be loaded error
0xc0000034”.Actually i was using strtok function in a
particular statement.when i commented that statement
and recompiled the driver loaded properly.

I was compiling with the Msvcrt.lib … the C runtime
library which is only ment for user mode apps.The
driver however compiled but did not load due to this.

Well , it was fun tracking down this problem. And now
for one more … how do i use strtok function in kernel
mode. I need it desperately.Do i have to write it
myself, or is there anyway to use it in kernel mode.

thanx in advance.
– harshal


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.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

hi all,
with a little bit of research i found out that
windows provides the source code for the string
functions in the CRT folder of the standard VC++
installation.

I picked up the code from the strtok.c file and pasted
it in the kernel code and it worked .

– Thanks for all the support
– harshal


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.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