;
; rsc.messages
;
; DLLManager messages
;
;  1995-1998 Straylight
;

;----- Licensing note -------------------------------------------------------
;
; This file is part of Straylight's Dynamic Linking System (SDLS)
;
; SDLS is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2, or (at your option)
; any later version.
;
; SDLS is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with SDLS.  If not, write to the Free Software Foundation,
; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

;----- Error messages -------------------------------------------------------

; --- Various strange errors ---

errDivide:[1]Internal error in DLLManager: divide by zero
errNoEntry:[1]DLL '%0' has no entry points
errNoNames:[1]DLL '%0' has an omitted name table
errBadVersion:[1]Malformed version number passed to DLLEnsure
errInUse:[1]DLLManager is in use and cannot die

; --- Odd errors with other people's error numbers ---

errFileNotFound:[&D6]Dynamic Link Library '%0' not found

errBadSWI:[&1E6]Unknown DLLManager operation

errNoCLib:[&800E90]DLLManager requires the SharedCLibrary module
errOldCLib:[&800E91]SharedCLibrary too old for DLLManager

; --- Our own error messages ---

errAppNotFound:[&80D303]Application '%0' not found
errAppNoEntry:[&80D304]Application does not contain external entry points
errDLLNotInMem:[&80D305]DLL '%0' not found
errDLLNoMem:[&80D306]No memory for Dynamic Link Library
errStackOvf:[&80D307]DLL stack overflow
errUnknownApp:[&80D308]Application not registered with DLLManager
errLinkNotFound:[&80D309]Couldn't find app/dll link
errDLLNotFound:[&80D30A]DLL '%0' version %1 not found
errNotADLL:[&80D30B]File '%0' is not a Dynamic Link Library
errTooNew:[&80D30C]DLL '%0' has an unrecognised version number
errDLLTooOld:[&80D30D]DLL '%0' is too old (version %1 required)
errAppEntry:[&80D30E]Application does not support entry point %0
errDLLEntry:[&80D30F]DLL '%0' does not support entry point %1
errNotShared:[&80D311]DLL '%0' is not shared

;----- Other messages -------------------------------------------------------

appName:|<Untitled>

;----- Messages for *command output -----------------------------------------

; --- *DLLs ---

noDLLsForApp:No DLLs registered for application<&0D><&0A>
dllHeader:Name            Version  Author<&0D><&0A>
noDLLs:No DLLs loaded<&0D><&0A>

; --- *DLLApps ---

appHeader:App name   DLL version<&0D><&0A>
noAppsForDLL:No applications found using DLL '%0'<&0D><&0A>
noApps:No applications registered<&0D><&0A>

; --- *DLLInfo ---

dinfoName:Name:<&20>
dinfoAuthor:Author:<&20>
dinfoVersion:Version:<&20>
dinfoReferences:References:<&20>
dinfoEntries:Entry points:<&0D><&0A>
dinfoNone:<&20><&20>[None]<&0D><&0A>
dinfoHidden:<&20><&20>[Omitted]<&0D><&0A>

;----- Help and syntax messages ---------------------------------------------

DLLs:{
  *DLLs lists the Dynamic Link Libraries currently loaded.  If you specify \
  an application name, it lists the DLLs currently associated with that \
  application.  Otherwise, all DLLs currently in use are displayed.
  |
  Syntax: *DLLs [|<application name>]\
}

DLLApps:{
  *DLLApps lists the applications currently making use of the Dynamic Link \
  system.  If you specify a DLL name, it lists the applications currently \
  using that DLL.  Otherwise, it lists all applications known to the \
  DLLManager.
  |
  Syntax: *DLLApps [|<dll name>]\
}

DLLInfo:{
  *DLLInfo gives you information about a named DLL including how many \
  applications are using it and the names of its entry points.
  |
  Syntax: *DLLInfo [-full] |<dll name>\
}

DLLKillApp:{
  *DLLKillApp allows you to remove a named application from the list of \
  those which the DLLManager knows about.  This may be useful during \
  testing of DLL clients, which may not tidy up properly after having \
  crashed.
  |
  Syntax: *DLLKillApp |<app name>\
}

DLLReset:{
  *DLLReset clears out all of the DLLManager's workspace.  This is intended \
  to be used while developing libraries.
  Warning: If you use this command, existing client applications are likely \
  to crash.
  |
  Syntax: *DLLReset\
}

DLLEnsure:{
  *DLLEnsure checks to see if a given version of a Dynamic Link Library is \
  available.  If not, an error is generated.  This may be useful in !Run \
  files for DLL client applications.
  |
  Syntax: *DLLEnsure |<dll name> |<version>\
}
