> I am using the Borland C 5.0 compiler, so with bcc prog.c, I could get the > prog.exe file that really worked well. > > The problem is that I want to work with the 32 bit compiler type and with > bcc32 prog.c, instead of the prog.exe file I just got an error message > saying that the outportb function was not prototyped and that > function could > not be resolved. The same kind of mistake can happen when you forget to > include a .h file with the prototype of a function you are using (for > instance, use of printf without including stdio.h), but this is not the > case. How can I handle this situation? I believe the problem is that you are using the 32bit compiler! :) Once you enter the wonderful world of 32 bit on a PC you also enter the world of protection, the system doesn't allow direct access to hardware by a user level program. This is akin to why NT doesn't allow most if not all DOS games with sound support work properly, the programs are trying to access the hardware directly. This is actually good, it is really the only way to make a stable system. I recommend that unless you have a good reason, stick with the 16 bit compiler. If you need to access hardware in 32 bit mode you will have to either create a driver or access a driver already installed. TTYL