Re: Help with Assembler

"davidmuinos" <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
Thanks Glenn for answering my question ! You are right, i need to do 
both( input and output ). So you told me that i may need to use the 
Windows API,but i haveno ideia how to do that ! Please  could you 
tell me how ? Because i am a beginner in this subject !

Thanks any way !


--- In [email protected], "Glenn B. Lawler" 
<gblawler@i...> wrote:
> David,
> 
> > Hi ! Please, does anybody kown the assembler code that let me 
send and
> > receive data from the parallel port (LPT1) ? I am using 
Windows2000 and
> > Delphi6, just in case it makes diffrence.
> 
> WinNT and Win2K are fully protected operating systems, meaning you 
cannot 
> directly access devices without writing a device driver. You should 
be able 
> to open the device just like a text file. You didn't say what you 
are 
> trying to do, but if all you want to do is send data out via the 
LPT port, 
> opening as a text file for output will work. If you want to do both 
input 
> and output, you may need to use the Windows API to open the port in 
a 
> different mode.
> 
> - Glenn Lawler


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Coral Calcium for Greater Health - $23.95
http://www.challengerone.com/t/l.asp?cid=2805&lp=calcium2.asp
http://us.click.yahoo.com/MmkSQC/NTVGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

Delphi Tips & Tutorials...
http://www.delphicollection.com
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.