Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters
Register

Reply
 
LinkBack Thread Tools
Old 25.12.2001, 04:07   #1
Младенец
 
Join Date: 10 2001
Location: Iran - Tehran
Posts: 6
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Unhappy LPT functions !!!

Hi all,<BR>Please introduce to me all functions or classes in C++ or VC++ about sending or reciving bits to special address in LPT port !

Please help me <IMG SRC="frown.gif" border="0">
Reply With Quote
Old 26.12.2001, 01:46   #2
Moderator
 
acid's Avatar
 
Join Date: 09 2001
Location: South Korea, Gumi
Posts: 7,699
Downloads: 102
Uploads: 34
Blog Entries: 16
Reputation: 561 | 6
Post

As far as I know you've got to use CreateFile Win32 API function for opening your parallel port device and ReadFile, WriteFile functions to transfer the information.

Hope it helps
Reply With Quote
Old 26.12.2001, 01:50   #3
Младенец
 
Join Date: 10 2001
Location: Iran - Tehran
Posts: 6
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Hi,<BR>But i don't want to write simple text !<BR>I wanna send bits to SPECIAL address in LPT !
Reply With Quote
Old 26.12.2001, 15:45   #4
Moderator
 
acid's Avatar
 
Join Date: 09 2001
Location: South Korea, Gumi
Posts: 7,699
Downloads: 102
Uploads: 34
Blog Entries: 16
Reputation: 561 | 6
Post

I believe in that case you have to write some driver level code...Use Numega Driver Studio
Reply With Quote
Old 03.01.2002, 21:11   #5
Младенец
 
Join Date: 01 2002
Location: Germany
Posts: 1
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Please check the following page. There is a driver for windows NT/2000 to directly access the LTP port:<BR> <A HREF="http://www.beyondlogic.org" TARGET=_blank>http://www.beyondlogic.org</A>

Regards
Reply With Quote
Old 04.01.2002, 00:55   #6
Младенец
 
Join Date: 10 2001
Location: Iran - Tehran
Posts: 6
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Talking

Thanks !
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 04:42.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.