Metropoli BBS
VIEWER: tvedit.dif MODE: TEXT (ASCII)
  TVEDIT, a Turbo Vision example from Borland Pascal

  In order for the original source code from Borland to work with
  Virtual Pascal for OS/2, the following changes need to me made.  Note,
  that the source will still work with Borland Pascal after the changes
  have been made.

  * Add Use32 to all the Uses clause of all units

  * Change TVEDIT.PAS:
    - Change line 10 from
        {$M 8192,8192,655360}
      to
        {$M 16384}

    - Change line 65 from
        MaxHeapSize := HeapSize;
      to
        {$IFNDEF VirtualPascal} MaxHeapSize := HeapSize; {$ENDIF}

  * Change TVEDIT.PAS:
    - After the Uses clause, add the following:

        {$IFDEF VPDEMO}
          {$Dynamic VP11Demo.Lib}
        {$ENDIF}

      This means, that the program will use all units stored in the
      Demo Licence DLL (vp11demo.dll) when the program is compiled with
      the demonstration version of VP/2.

[ RETURN TO DIRECTORY ]