helppppppppp...

Status
Not open for further replies.
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.....
 
hi,

EDIT: This is an identical post, you placed 11thJune.

Have you tried/used all the information/programs I have emailed to you???
They are proven programs and they do work.

Did you get the inpout32.dll??
 
Last edited:
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.
 

Does your compiler understand you? At least you don't have to worry about case sensitivity.

PS your operating system may not let you talk to the port directly.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…