KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q62260: TSCNIOxx.OBJ Stub Files Remove Screen 0 Page-Switching

Article: Q62260
Product(s): See article
Version(s): 7.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | SR# S900423-7 | mspl13_basic
Last Modified: 20-JUN-1990

If you link the stub file TSCNIOxx.OBJ to your BASIC object module,
any attempt to change the visual or active page to any page other than
Page 0 generates the error "Feature Removed." The run-time routines
responsible for handling page switching are included in those run-time
routines stubbed out by TSCNIOxx.OBJ. This information applies to
Microsoft BASIC Professional Development System (PDS) version 7.00 for
MS-DOS and MS OS/2.

The TSCNIOxx.OBJ stub file is used to remove all graphics support that
is automatically inserted in your program at link time so that you may
generate smaller EXE files.

For more information on this and other stub files, query on the
following words:

   smaller and stub and EXE

The sample code below reproduces the error "Feature Removed."

Compile and link as follows:

   BC scrntest.bas /o ;
   LINK scrntest + tscionr.obj,,,bcl70enr.lib /noe ;

Code Example
------------

   CLS
   PRINT "Switching pages"
   SLEEP
   SCREEN 0, , 1, 1        'This line will generate the Feature.
                           'Removed error because it tries to switch
                           'pages in Text mode.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.