home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 November / Chip_2002-11_cd1.bin / zkuste / delphi / kompon / d456 / RASMG110.ZIP / Ras.txt < prev    next >
Text File  |  2001-11-16  |  679b  |  15 lines

  1. RASAPI interface unit (Delphi conversion by Davide Moretti dave@rimini.com,
  2. ver 2.11) rewritten to link RASAPI32.DLL dynamically via
  3. LoadLibrary/GetProcAddress, preventing application to be terminated
  4. on exception if RAS is not installed.
  5.  
  6. Original file has been taken from TRASControl version 1.2
  7. (Copyright (c) 1999 by David A. Bussey).
  8.  
  9. Interface section is not modified. All RASAPI external function declarations
  10. from Implementation section has been deleted. RASAPI functions are linked
  11. dynamically in Initialization section.
  12.  
  13. Global variable bRasAvail (of type Boolean) indicates if RAS is installed.
  14. If bRasAvail = False, any RASAPI function call returns -1.
  15.