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

Reply
 
Thread Tools

LPT functions !!!
Old 25.12.2001, 04:07   #1
Младенец
 
Join Date: 10 2001
Location: Iran - Tehran
Posts: 6
Rep Power: 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">
__________________
Checkout my homepage:<BR>http://www.geocities.com/hadi_rezaie/index.html<BR>(My month article is about DirectDraw programming)

Old 26.12.2001, 01:46   #2
Moderator
 
acid's Avatar
 
Join Date: 09 2001
Location: South Korea, Gumi
Posts: 7,699
Blog Entries: 16
Rep Power: 7
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

Old 26.12.2001, 01:50   #3
Младенец
 
Join Date: 10 2001
Location: Iran - Tehran
Posts: 6
Rep Power: 0
Post

Hi,<BR>But i don't want to write simple text !<BR>I wanna send bits to SPECIAL address in LPT !
__________________
Checkout my homepage:<BR>http://www.geocities.com/hadi_rezaie/index.html<BR>(My month article is about DirectDraw programming)

Old 26.12.2001, 15:45   #4
Moderator
 
acid's Avatar
 
Join Date: 09 2001
Location: South Korea, Gumi
Posts: 7,699
Blog Entries: 16
Rep Power: 7
Post

I believe in that case you have to write some driver level code...Use Numega Driver Studio

Old 03.01.2002, 21:11   #5
Младенец
 
Join Date: 01 2002
Location: Germany
Posts: 1
Rep Power: 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

Old 04.01.2002, 00:55   #6
Младенец
 
Join Date: 10 2001
Location: Iran - Tehran
Posts: 6
Rep Power: 0
Talking

Thanks !
__________________
Checkout my homepage:<BR>http://www.geocities.com/hadi_rezaie/index.html<BR>(My month article is about DirectDraw programming)
Reply




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 01:19.
Top

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