| | |
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: 565
Reputation:
Solved Threads: 90
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 |
#include * ansi append array arrays asterisks bash binarysearch centimeter changingto char character convert copyimagefile cprogramme creafecopyofanytypeoffileinc createprocess() database dynamic execv fgets file floatingpointvalidation fork framework function getlogicaldrivestrin givemetehcodez grade gtkwinlinux hacking histogram ide inches include infiniteloop initialization input interest intmain() iso kernel keyboard kilometer km license linked linkedlist linux list lists looping lowest matrix meter microsoft number oddnumber open opendocumentformat openwebfoundation overwrite owf pdf pointer pointers posix power probleminc process program programming radix recursion recv recvblocked research reversing segmentationfault sequential single socket socketprogramming standard strchr string suggestions systemcall test testing threads turboc unix urboc user variable wab whythiscodecausesegmentationfault windowsapi






