473,473 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Compile Error: Null Device is Missing

I am having a "Null Device is Missing" compile error when compiling a c++
project.

The documentation from MSDN said it could be caused by low system resource
or the user account does not have the prillivage.
But I am plenty of system resources and I logged in as Admin.

Anyone know how to solve this?

Thanks in advance
Tony
Nov 16 '05 #1
8 13198
Hi Tony,

As I understand, you get the following error when you try to build a
default Visual C++ .NET application.

"Null Device is Missing"

Based on my research and experience, please try the following steps on your
side: (I am using Windows XP Professional)

1. Go to the Start menu and select control Panel.

2. Select Administrative Tools.

3. Select Computer Management.

4. Select Device Manager.

5. Select the View Menu and the option for Show Hidden Devices

6. Expand the Non Plug and Play Drivers (Tree)

7. Scroll to the Null selection, right click, and select properties.

8. Make sure it is enabled and started.

Please try it and tell me the result.

Best regards,
Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #2
I followed your steps, and I can locate the null device from the Device
View, however, I can't start or stop the driver like the others devices as
the controls in the Driver property page for the null device are disabled.

Any ideas?

Tony

"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:G5**************@cpmsftngxa06.phx.gbl...
Hi Tony,

As I understand, you get the following error when you try to build a
default Visual C++ .NET application.

"Null Device is Missing"

Based on my research and experience, please try the following steps on your side: (I am using Windows XP Professional)

1. Go to the Start menu and select control Panel.

2. Select Administrative Tools.

3. Select Computer Management.

4. Select Device Manager.

5. Select the View Menu and the option for Show Hidden Devices

6. Expand the Non Plug and Play Drivers (Tree)

7. Scroll to the Null selection, right click, and select properties.

8. Make sure it is enabled and started.

Please try it and tell me the result.

Best regards,
Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #3
Hi Tony,

Thank you for your update.

Please perform the following step on your side after the step 7 on my
previous post.

Under Device Usage select "Use this device (enable)" and then Click OK.
I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #4
I do have the device enabled in the first place.
"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:94**************@cpmsftngxa06.phx.gbl...
Hi Tony,

Thank you for your update.

Please perform the following step on your side after the step 7 on my
previous post.

Under Device Usage select "Use this device (enable)" and then Click OK.
I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #5
Hi Tony,

I am sorry if there is any misunderstanding.

Based on the information you provided, the Null device is not configured
successfully on the system. Please make the followings on your side.

1. Please tell me which Operating System you are using. I am using Windows
XP professional

2. When you right click the "Null" device, what options can you see in the
pop menu? I can find the following options:

Disable
Uninstall
-------------
Scan for hardware changes
-------------
Properties

3. When you select Properties, there are two tabs - General and Driver.

4. In the General Tab, please make sure the following settings:

1) Device Status

"This device is working properly.

If you are having problems with this device, click Troubleshoot to start
the troubleshooter."

2) Device usage

"Use this device (enable)"

5. In the Driver Tab, please make sure the following settings:

1) Current Status

Status: Started

2) Type

System

I am looking forward to your result.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #6
I have Windows XP Pro with the lastest patch. When I located the null
device in the by following your steps, I right click on it and the popup
menu is the same as yours. When I select Properties, I also got two tabs.

In the General Tab, I have the status text as "The device is working
properly." and under Device Usage, I have "Use this device (enable)".
In the Driver Tab, the current status is "Unknown", and the Start and Stop
buttons, and Startup Type combo box are disabled.
The only button enabled is the "Driver Details" button so I clicked on it,
the driver files shows "c:\Windows\System32\drivers\Null.sys".
I did tried disabling the null device, restart the computer, and then enable
the null device again, just hoping to "restart" the device, but this does
not solve the problem.

Is this device depending on some kind of Windows Services? I do have some
Window services that I dont use disabled.

"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:uQ**************@cpmsftngxa06.phx.gbl...
Hi Tony,

I am sorry if there is any misunderstanding.

Based on the information you provided, the Null device is not configured
successfully on the system. Please make the followings on your side.

1. Please tell me which Operating System you are using. I am using Windows
XP professional

2. When you right click the "Null" device, what options can you see in the
pop menu? I can find the following options:

Disable
Uninstall
-------------
Scan for hardware changes
-------------
Properties

3. When you select Properties, there are two tabs - General and Driver.

4. In the General Tab, please make sure the following settings:

1) Device Status

"This device is working properly.

If you are having problems with this device, click Troubleshoot to start
the troubleshooter."

2) Device usage

"Use this device (enable)"

5. In the Driver Tab, please make sure the following settings:

1) Current Status

Status: Started

2) Type

System

I am looking forward to your result.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #7
Hi Tony,

Thank you for your update.

Please check the following registry key on your machine.

HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->Null

The values of "Start" and "Type" should be "1" (Hex). If you want it, I can
a screen shot for your reference.

Note:
Before you modify the registry, make sure to back it up and make sure that
you understand how to restore the registry if a problem occurs. For
information about how to back up, restore, and edit the registry, please
check the following article.

Description of the Microsoft Windows Registry
http://support.microsoft.com/default...b;EN-US;256986

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #8
Thanks you VERY much! This solve the problem.
Actually, my problem is that I don't even have a "Start" value, however,
after I added the "Start" value and specifies 1 as the value data, it works.

Thanks.
Tony
"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:eE*************@cpmsftngxa06.phx.gbl...
Hi Tony,

Thank you for your update.

Please check the following registry key on your machine.

HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->Null

The values of "Start" and "Type" should be "1" (Hex). If you want it, I can a screen shot for your reference.

Note:
Before you modify the registry, make sure to back it up and make sure that
you understand how to restore the registry if a problem occurs. For
information about how to back up, restore, and edit the registry, please
check the following article.

Description of the Microsoft Windows Registry
http://support.microsoft.com/default...b;EN-US;256986

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: ch424 | last post by:
Hi there, I'm using Python 2.4.1 on Ubuntu Linux, and I'm having problems extending python in C: The C code is below: #include <Python.h> #include "ni488.h"
10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
10
by: Bart Goeman | last post by:
Hi, I have a question about how to put redundant information in data structures, initialized at compile time. This is often necessary for performance reasons and can't be done at run time (data...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
1
by: electrixnow | last post by:
Help!, I need to compile this code with static libs so it run on another XP machine that does'nt have MS Studio installed. When I compile now I get an ERROR: 1>------ Rebuild All started:...
4
by: Susan Rice | last post by:
I'm new to using CString. Why won't the following compile? I'm using Microsoft Visual C++ 6.0 Line 37 which it complains about is the function: 37 CString ConvertFile(char *szFileName) I...
11
by: Bryan Crouse | last post by:
I am looking a way to do error checking on a string at compile time, and if the string isn't the correct length have then have the compiler throw an error. I am working an embedded software that...
2
by: BruceWho | last post by:
I downloaded boost1.35.0 and built it with following command: bjam --toolset=msvc-7.1 --variant=release --threading=multi -- link=shared --with-system stage and it failed to compile, error...
1
by: anu29dolly | last post by:
error:return makes integer from pointer without a cast.. following is my code ..plz help to track the bug ......... #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.