                          Ŀ
                            DOS70 Version 1.2  
                          

   A powerful, very easy-to-use Borland/Turbo Pascal unit, implementing
   DOS 7.x extensions and specific file routines.

                      Copyright (C) by Cristi Streng
                           September 1st, 1997

   

WHY DOS70 ?


   MS-DOS 7.0 (included in Windows 95) was the first version of DOS that
   was capable of creating and using files with long names. Long names are
   names for files or directories that exceed the standard 8.3 format. I
   wrote this unit because I wanted to use Long Filenames (LFNs) in a Turbo
   Pascal 7 program (I am usually running Borland Pascal 7.0 in a Windows 95
   window). I have included over 40 functions and procedures for LFNs, over
   10 Virtual Machine functions and procedures and also over 10 general
   MS-DOS 7.x functions.
   DOS70 compiles now under Borland Pascal 7.0 for Windows.

   This package contains:
      - The DOS70 unit, including:
           - Long File Name (LFN) functions for opening, reading, writing,
             searching files with long names.
           - LFN functions for file date, size and attributes.
           - LFN functions for working with directories (folders) and paths.
           - New MS-DOS functions that appeared in version 7.0 (Windows 95).
           - Virtual Machine services: Change window titles, Close-Aware
             applications
           - Retrieve Windows (and DOS) version.
      - A complete manual describing the whole unit. Please read MANUAL.TXT.
        before using the unit.
      - Full source of the unit.
      - Three example files.

   

ABOUT THE AUTHOR


   I am a Computer Science student at "Emanuil Gojdu" High School, Oradea,
   Romania. I am fond of UNIX, Windows 95, and DOS programming in C++ and
   Pascal. If you have anything to do with programming (and you have some
   spare time), feel free to contact me. Send me an e-mail, or a postcard.
   If you enjoy using this unit, please let me know. I would appreciate if
   you send me a copy of your program using this unit.

   

EXAMPLES


   In this package you will find three examples. I haven't included more
   examples because I think the documentation is very comprehensive and
   it's very easy to figure out how various functions work.

   Example 1: demonstrates you how to use various functions included in
      the DOS70 unit.
   Example 2: searches for files matching the specified file mask in a
      directory and its subdirectories. Try 'EXAMPLE2 C:\ *' !!!
   Example 3: demonstrates how to use virtual machine services,

   

MISC


   System requirements:
      Windows 95, Borland/Turbo Pascal 7.0.
   Where to get new versions:
      ftp://ftp.simtel.net/pub/simtelnet/msdos/turbopas/dos70pxx.zip (Pascal)
      ftp://ftp.simtel.net/pub/simtelnet/msdos/turboc/dos70cxx.zip (C)
      ftp://garbo.uwasa.fi/pc/turbspec/dos70pxx.zip
      ftp://garbo.uwasa.fi/pc/turboc/dos70cxx.zip
      ftp://lego.soroscj.ro/pub/users/cristis/soft/dos70pxx.zip
      ftp://lego.soroscj.ro/pub/users/cristis/soft/dos70cxx.zip
   Installation:
      Just unzip the files in this package into any directory, then copy
      the file named 'DOS70.PAS' or 'DOS70.TPU' into your program directory.
   What's new in version 1.2:
      - DOS70 now works with Borland Pascal 7.0 for Windows (you can create
        16-bit Windows programs that work with long filenames under
        Windows 95).
      - a bug in DOSTimeToFileTime was fixed.
      - a bug in GetDriveMapInfo was fixed.
      - 3 new procedures were added.
   What's new in version 1.1:
      - a bug in IsDOS70 was fixed.
      - virtual machine functions and procedures were added.
      - the GetVer and GetWinVer functions were added.

   I am working on a C version of DOS70 and on a Pascal version using
   'PChar' variables instead of 'string'.

   

LICENSE


   All software and documentation included in this package is provided
   "as is", with NO WARRANTY of any kind. I assume NO RESPONSIBILITY for
   any damage this unit may cause.

   You are allowed to freely use, copy and distribute this package if no
   fee is charged, and only if it is distributed in its ORIGINAL,
   UNMODIFIED state. You are allowed to use this unit in either commercial
   or non-commercial products with the condition that no extra fee is
   charged and that you give credits to the author.

   If you find this unit useful in your work, a money contribution would
   be appreciated. Your contribution helps me continue my work, the
   development of freeware and shareware products.

   If you find any bugs, if you have any suggestions or questions, please
   contact me at:

      Internet:  http://www.lego.soroscj.ro/~cristis (I'm working on it)
                 http://www.lego.soroscj.ro (I'm the webmaster...)
      E-Mail:    cristis@lego.soroscj.ro (or root@lego.soroscj.ro)
      Address:   Cristi Streng
                 str. Gen. Magheru nr. 11A ap.5
                 3700 Oradea
                 Romania
      Phone:     +40-59-417477

--- END OF README.TXT ---