Hello. I`m useing Visual C++ and I need to use outportb function, but in Visual`s C++ conio.h there isn`t that function, in Borland C++ that function is. Any suggestions ? THNX
Printable View
Hello. I`m useing Visual C++ and I need to use outportb function, but in Visual`s C++ conio.h there isn`t that function, in Borland C++ that function is. Any suggestions ? THNX
Get a newer book or an older compiler.
Which port are you planning to mess with?
Taking a guess, if it's the serial port, then use the win32 CreateFile() API and associated functions.
i believe that VC++ and BC++ have 2 different functions like in BC++ it is outportb and in vc++ it is something different..i dont know it off the top of my head but they may help, also i think it uses a different header file than conio
dont most dos compilers put the io port commands in <pc.h>? but it's been a while... you probably don't have much of a reason to mess with them in a modern enviornment anyway