With windows XP, normal inport, outport functions do not seem to work. I downloaded a utility to open ports and then use these funtions, but it didnt help. Anyone can give details how to do parallel port programming in XP using C?
GMSI
0
Newbie Poster
Recommended Answers
Jump to Postyou need inpout32.dll, a 32 bits version of the old inp() and out() functions.
for the Dll and sample-programs:
Click
Jump to Postinport() and outport() functions do work if you have opened the port. I use a software called Userport to do the same. Alternatively you could try inportb() and outportb(). Here is a tutorial on parallel port programming in C
All 5 Replies
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
hammerhead
19
Posting Whiz in Training
jephthah
commented:
i like that link you posted.
+1
guy40az
0
Junior Poster in Training
raghavaniyer
0
Newbie Poster
kings_mitra
-1
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.