Re: Using Ports

Shawn Tan <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Organization Aeste Works (M) Sdn Bhd
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> How can I use ports. I need it more. I need to read data from seri 
> port by using smartcard reader. 
> 
> Could you help me?

If it's via the Serial Port, you can just open the serial port like any
other file in windows.. Then, just treat it as a file and read and write
from it as you would normally do a file.. 

I can't rightly remember how to do this but it involves using the
filename '\\COM1:' or something like that.. for details, check the
CreateFile function in the Win32 API Helpfile.. That is one way..

Of course, you can just go to terry.net or some other place and download
a VCL that will allow you to access COM ports.. That's all..

> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~--> Inkjet cartridges up to 80% off. HP, Epson,
> Lexmark--we have your brand. Free shipping on every order to the U.S.
> and Canada! Excellent service.
> http://www.c1tracking.com/l.asp?cid=5510
> http://us.click.yahoo.com/QWB0QC/.eUGAA/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/ 
> 
> 
> 


- -- 
with metta,
Shawn Tan.
=======================================================================
ICQ UIN: 1802628     keyserver.net: F9BA3B9A     counter.li.org: 297959

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Co1z9KUEj/m6O5oRAkJeAJ9ew5JZL/1iKUDwPKwD+c7okRuQ8wCaAwIC
i9x8Q+JL87mLoDcB8QH1yGc=
=iWdl
-----END PGP SIGNATURE-----


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Inkjet cartridges up to 80% off. HP, Epson, Lexmark--we have your brand.
Free shipping on every order to the U.S. and Canada! Excellent service.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/QWB0QC/.eUGAA/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.