In Borlandīs Visual C++ 5 itīs impossible to use such functions as outpw,inpw, etc.. because they no longer exists. How can I write or read in/from hardware ports in this program? Is there a solution to my problem? Thank for your time.
In Borlandīs Visual C++ 5 itīs impossible to use such functions as outpw,inpw, etc.. because they no longer exists. How can I write or read in/from hardware ports in this program? Is there a solution to my problem? Thank for your time.
Well in C/C++ for UNIX systems it was easy!
all of the devices are stored in /dev
so all I did was open streams to all of them, OR took some of Linus's code and added to the hardware functions...
Otherwise all you can do is Program a Chip and sodder it on...
For Windows and other systems, I dont know, I have had many questions similar to that but I could help them either, if you do find out lemme know at
[email protected]
Here is what it would look like
Code:ofstream a_device;
a_device.open("/dev/eth0");
a_device<<//Yata yata BECAREFUL WHAT U ADD HERE, u coulld permemnantly kill the device!
a_device.close();
Same way you do for other Windows compilers:
See this thread from the Windows board.