'----------------------- LOTUS DEVELOPMENT CORPORATION -----------------------
OPTION DECLARE
'=============================== VERSION CONTROL =============================
'$Log:run.lss
' Rev 1.0 7 November 1994 10:49 Mark Wallace
' Created
'============================ END OF VERSION CONTROL =========================
'--------- INCLUDE FILES, FORWARD DECLARES, PUBLIC VARIABLES/CONSTANTS -------
USE "drvlib.lso"
dim ResDir as string
dim LocDir as string
dim msgtext as string
dim msgtitle as string
dim msgstyle as integer
dim CurrentDir as string
dim oldsam as string
declare public function APIMsgBox lib "user" alias "MessageBox" (byval hwnd as integer,byval msgtext as string,byval msgtitle as string, byval style as integer) as integer
'----- END OF INCLUDE FILES, FORWARD DECLARES, PUBLIC VARIABLES/CONSTANTS ----
'----------------------- LOCAL SUBROUTINES AND FUNCTIONS ---------------------
SUB Initialize
' Setup the error handler
ON ERROR GOTO ErrorHandler
' prepare the LWPUSER.INI file:
if not FixLWPUSER() then
messagebox("Cannot initialize test")
end if
'' Create the driver class
'if right$(trim$(CurDir$),1)<>"\" then
' CurrentDir$=CurDir$+"\"
'else
CurrentDir$=CurDir$
'end if
ResDir$=CurrentDir$
LocDir$=CurrentDir$
DIM driver AS NEW CDriver (locDir$, LocDir$, resDir$, LocDir$, LocDir$, LocDir$, "%S{ENTER}", "", "")