I wrote a C program a while ago which uses the macros inp, outp, inpw, & outpw from conio.h. This program sent commands to the ports to get hard drive info from an IDE hard drive. Now I need it to run in Windows. It works fine in DOS mode, but none of the commands work when run from a DOS prompt within Windows '95. Does anyone happen to know why? It is either not sending the commands to the ports (ie, outp isn't working) or it's not reading the values from the ports (ie, inp isn't working). Any one know any reason these functions wouldn't do the same thing they do from within Windows they do in DOS mode?