home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progbas
/
pwl50x.arj
/
SMALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-03-03
|
3KB
|
59 lines
@ECHO OFF
CLS
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO CREATE LIBRARIES WITH PLAIN VANILLA WINDOW FUNCTIONS ONLY
ECHO (Does not have "Event Driver" or "Mouse Control" features)
ECHO ──────────────────────────────────────────────────────────────────────
ECHO This batch file will create a library (LITE.LIB) and QuickLibrary
ECHO (LITE.QLB) that is compatible with Microsoft(R) BASIC PDS 7.X ONLY.
ECHO For a Microsoft(R) QuickBASIC(R) compatible version, please call us.
ECHO ══════════════════════════════════════════════════════════════════════
PAUSE
IF EXIST LITE.LIB DEL LITE.LIB
LIB LITE +WINDOW.LIB+MSTUB.OBJ;
IF NOT EXIST LITE.LIB GOTO LIBFAILED
IF EXIST LITE.QLB DEL LITE.QLB
SET LINK=/SE:192
LINK /Q /NOE +LITE.LIB,,,QBXQLB;
IF NOT EXIST LITE.QLB GOTO LINKFAILED
:SUCCESS
CLS
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO CONGRATULATIONS!
ECHO ──────────────────────────────────────────────────────────────────────
ECHO You now have a library (LITE.LIB) and QuickLibrary (LITE.QLB) that is
ECHO compatible with Microsoft(R) BASIC PDS 7.X.
ECHO
ECHO To make use of this library, you must load BASIC EXACTLY as follows:
ECHO
ECHO QBX /AH /EA /L LITE.QLB
ECHO
ECHO ══════════════════════════════════════════════════════════════════════
GOTO BYE
:LIBFAILED
ECHO
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO ERROR: LIB.EXE FAILED WHILE CREATING "LITE.LIB"
ECHO ──────────────────────────────────────────────────────────────────────
ECHO For some reason, the library manager (LIB.EXE) could not build the
ECHO library. It is possible that it could not find the files it needed to
ECHO build the library. Please make sure that the following files are in
ECHO the same directory as this batch file: MSTUB.OBJ and WINDOW.LIB.
ECHO ══════════════════════════════════════════════════════════════════════
GOTO BYE
:LINKFAILED
ECHO
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO ERROR: LINK.EXE FAILED WHILE CREATING "LITE.QLB"
ECHO ──────────────────────────────────────────────────────────────────────
ECHO For some reason, the linker (LINK.EXE) could not build the Quick
ECHO Library. If the error deals with the "/Q" option, then you are using
ECHO the WRONG version of link. Both DOS and BASIC come with their own
ECHO version of LINK.EXE. YOU MUST USE THE VERSION THAT CAME WITH BASIC.
ECHO ══════════════════════════════════════════════════════════════════════
GOTO BYE
:BYE