| | |
problem with parallel port driving program
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Dec 2007
Posts: 13
Reputation:
Solved Threads: 0
C Syntax (Toggle Plain Text)
I have used outportn(base,pin); cmd with header file dos.h and as per my knowledge there are no errors in the program. BUT ITS NOT WORKING for crazy it worked ones in my friends computer and never worked again ... What should I do ??Please help me I use XP.
Last edited by abhi_marichi; Jan 10th, 2009 at 1:42 pm.
•
•
Join Date: Sep 2006
Posts: 327
Reputation:
Solved Threads: 22
XP won't allow access to the port. Install GiveIO, and it will.
http://sourceforge.net/project/showf...ease_id=150767
http://sourceforge.net/project/showf...ease_id=150767
•
•
Join Date: May 2008
Posts: 631
Reputation:
Solved Threads: 102
All of the comments I've found (with my Google search that you should have made) indicate that application level programs under 32-bit windows (aka Win32) cannot directly access the I/O ports.
The primary suggestion appears to be that if you really need that level of access to the hardware you will need to write a driver to support it. There was also a mention of some sample code included in the Windows DDK.
I have no personal experience in that area, good luck.
The primary suggestion appears to be that if you really need that level of access to the hardware you will need to write a driver to support it. There was also a mention of some sample code included in the Windows DDK.
I have no personal experience in that area, good luck.
> I have used outportn(base,pin); cmd with header file dos.h
Which is older - you or your compiler?
I'm figuring you're using some fossil like TurboC.
The answer is to "get with the times", and use a compiler which is actually compatible with your OS, and not something which is half-heartedly supported for backward compatibility.
Which is older - you or your compiler?
I'm figuring you're using some fossil like TurboC.
The answer is to "get with the times", and use a compiler which is actually compatible with your OS, and not something which is half-heartedly supported for backward compatibility.
•
•
Join Date: Sep 2006
Posts: 327
Reputation:
Solved Threads: 22
•
•
•
•
I installed GiveIO
But its not working is there any other way out
http://neil.fraser.name/software/lpt/
If not, there's also Userport.
http://www.mattjustice.com/parport/par_nt.html
•
•
•
•
which is the latest C compiler please tell me
Last edited by Colin Mac; Jan 10th, 2009 at 5:58 pm.
![]() |
Similar Threads
- memory management in wndows 2000 (Windows NT / 2000 / XP)
Other Threads in the C Forum
- Previous Thread: Reading numbers - tired, stressed and cannot see why.
- Next Thread: how pointer variable is able to store address?
| Thread Tools | Search this Thread |
Tag cloud for C
#include * append array arrays asterisks binarysearch calculate changingto char character cm command copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic execv feet fgets file fork forloop framework function functions givemetehcodez grade graphics gtkwinlinux hacking histogram homework include incrementoperators input intmain() iso kernel keyboard km lazy license linked linkedlist linux list lists locate logical_drives looping loopinsideloop. lowest matrix microsoft motherboard mqqueue number oddnumber odf opensource overwrite owf pdf performance pointer posix problem probleminc process program programming radix recursion recv recvblocked research reversing scanf scripting segmentationfault sequential socket socketprograming spoonfeeding standard string student systemcall testing threads turboc unix user variable wab whythiscodecausesegmentationfault windowsapi






