I doubt that accessing those memory locations will get you anywhere under Win32. Gotta go through the API.
I don't know about parallel & game ports, but serial ports are exposed as files.
http://msdn.microsoft.com/library/techart/msdn_serial.htm
Maybe you can get hold of a parallel port in the same way.
Edited by - vladg on August 24, 2000 10:28:07 PM
Accessing game or pareller port via Windows
Well everything looked to go fine but...
I guess i have to grab my old vC++ 1.0 special edition and make a dos program but then are the _inp and _outp yet usefully. As i quickly looked i can´t make program that uses segmentary memorymodel(Brings back to min "Tricks of the gameprogramming gurus"). This is getting enough hassle printer functions could work but if won´t what a work and I can´t code MFC because I´m turning to Linux and thinked meicrosoft go heck with your Api but my school has only microsoft based computers.
As I looked help along seems that printer functions theoritically could work but has someone knowledge about some nasty windows feature like what´s the format of data send and received at the printer or is it only in plain binary format in pin order what was in Stevens post. I´m not going to do it with serial port it´s too complicated me i´m just soon 15 years and not super experied with electronic works. Well if I use printer functions i definately had to add flagg is data get.
Aah this get comlicated my work is never ready
Some microsoft guy should help me.Is here some windows guy
I guess i have to grab my old vC++ 1.0 special edition and make a dos program but then are the _inp and _outp yet usefully. As i quickly looked i can´t make program that uses segmentary memorymodel(Brings back to min "Tricks of the gameprogramming gurus"). This is getting enough hassle printer functions could work but if won´t what a work and I can´t code MFC because I´m turning to Linux and thinked meicrosoft go heck with your Api but my school has only microsoft based computers.
As I looked help along seems that printer functions theoritically could work but has someone knowledge about some nasty windows feature like what´s the format of data send and received at the printer or is it only in plain binary format in pin order what was in Stevens post. I´m not going to do it with serial port it´s too complicated me i´m just soon 15 years and not super experied with electronic works. Well if I use printer functions i definately had to add flagg is data get.
Aah this get comlicated my work is never ready
Some microsoft guy should help me.Is here some windows guy
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement