hi i want to change voltage level of parrell port's data regester.
my LPT1 port add is 0378h...
i m using C language 4 programing.
i knw that "outportb" fun is use to set data at port.
i hav written "outportb(0x378,0x00)"
and change the val of passed haxa decimal argument to fun
bt i m not geting apropiate volatage at port..
i think der should be problem wid the form of argument i hav passed to fun..
plz solved my problem.....
The function you use would only work if you are using windows 98 or lower, or Linux. If you use higher windows version you have to use kernel.dll or to write your own .dll That's because outputportb() is using direct access to the port through BIOS and in e.g. xp this is illegal operation.
For future searchs the word help even with an excess of p's is not good at all. Would you use that word in a search to find what you are looking for? Ridiculous.
hi i want to change voltage level of parrell port's data regester.
my LPT1 port add is 0378h...
i m using C language 4 programing.
i knw that "outportb" fun is use to set data at port.
i hav written "outportb(0x378,0x00)"
and change the val of passed haxa decimal argument to fun
bt i m not geting apropiate volatage at port..
i think der should be problem wid the form of argument i hav passed to fun..
plz solved my problem.....