home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Pascal / Snippets / GetNamedDCtlEntry / README < prev   
Encoding:
Internet Message Format  |  1994-11-09  |  799 b   |  [TEXT/R*ch]

  1. From: ferrari@netaxs.com (Darrell Turner)
  2. Subject: Serial drivers
  3. Date: Sun, 06 Nov 1994 22:57:06 -0500
  4.  
  5. In article <241627134.618480@agora2000.ETT.se>, H.Olsen@ETT.se (Hakan
  6. Olsen) wrote:
  7.  
  8. > I*m writing a program that uses the serial ports/drivers. I initialize the
  9. > ports using OpenDriver(....). If I try to open the printer port, when apple
  10. > talk is in use, I get an error telling me that the port is already in use,
  11. > but when an ordinary program is using the port I get no error. This naturally
  12. > give rise to some conflicts between the applications.
  13. > Is there any way for me to know if the port is already in use. 
  14. > I would be very happy if someone could help me whith this problem!
  15. > // Hakan
  16.  
  17.  
  18. I use this code to see if '.AIn' is open, or if '.IPP' (MacTCP) is open. 
  19. Works great.
  20.