Thank you for linking me to that faq. I had already figured out what I had to do (use a driver), but knowing WHY I have to do it will work wonders towards recovering my sanity.
I have one more question now. The project I am working on is upgrading numerous small programs from DOS to a windows environment...and also making them Win2000 compatible. Anyway, some had already been completed before I inherited the project. These programs DID use inportb and outportb and DO work on Win2000. Is it possible to change the bitmap field contained in a program to allow port access to the needed addresses? For example, I have an exe from one of these programs that works on Win2000, but when I compile a new exe from the source code, it does not work. The FAQ mentions that Win95 will just change the bitmap field if an exception occurs. Would running the exe on Win95 before taking it to Win2000 be a quick and dirty way around the problem?
Sorry if my questions are dumb; this is my first time dealing with programming for NT-based OSes.