473,385 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 13185
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.