Subj : Re: Inportb in Win32? To : borland.public.cpp.borlandcpp From : Mark Chappell Date : Tue Jul 01 2003 01:42 pm I seem to have answered my own question, via; http://www.bcbdev.com/faqs/faq30.htm Mark Mark Chappell wrote: > Hi > > Functions to read ports that compile fine into a DOS (Standard) exe, > in > BorlandC++ 5.02, do not compile to a Win32 Console application. > > #include > > main() > { > char ch = inportb(0x3DA) & 8; > } > > How can one read ports with a 32 bit application? > > Mark Chappell .