Computing.Net > Forums > Windows NT > giveio.sys

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

giveio.sys

Reply to Message Icon

Name: Michelle
Date: May 16, 2001 at 13:42:22 Pacific
Comment:

Could someone please explain to me what giveio.sys is supposed to do? I am currently writing an application in Visual C++, and am adapting some other code for use in this application. The old code is supposed to use giveio.sys and is malfunctioning, but I don't understand enough about giveio.sys to fix it. Please help! Thanks so much!



Sponsored Link
Ads by Google

Response Number 1
Name: robert schut
Date: May 17, 2001 at 00:23:45 Pacific
Reply:

Okay
As you know NT does not allow applications to access hardware directly
So what an app does is ask NT to access (arbitrate) harware and this is why NT is more stable than Dos based OSes like W95/98

This is done thru ports
NT has a default list of I/O port addresses that are allowed to be used by apps.

Now you are writing an app but you want to access hardware, normally you would have to write a driver for that hardware but you just don't have the knowledge or time.
This is were it would be nice if our app could access the hardware directly

This can be done by changing the default permission list to access I/O port addresses.


Because this is not allowed in NT ( user mode) there has been developed a driver called giveio.sys to work around this problem

SO what you are doing is more or less fu..... around with NT stability ;-)

In fact you are using some undocumented kernel calls to fool around.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: giveio.sys

what makes a service a service? www.computing.net/answers/windows-nt/what-makes-a-service-a-service/19643.html

Pagefile.sys file www.computing.net/answers/windows-nt/pagefilesys-file/15190.html

NT Service and icon on sys tray www.computing.net/answers/windows-nt/nt-service-and-icon-on-sys-tray/12855.html