ANSI Standard PL/B Language and Visual PL/B
Distribution Files
NOTE TO OUR READERS
This web resource is written for our own use. But we feel strongly that the PL/B language should be shared with the software community. So feel free to use this at will!
BUT PLEASE...
if you find errors or omissions or have a better way to do something. TELL US! Dialog helps us all. Send e-mail to:
support@mmcctech.com
December 14, 1998
For a SINGLE USER installation.
When we put a new PL/B Windows system at client sites we
put everything in a SINGLE DIRECTORY:
- DOS programs
- PL/B Windows programs
- Data and ISI files
- Required PLBWIN runtime
- ANSI.DEF
- PLBWIN.EXE
- PLBWODBC.DLL
- PLBWIN32.DLL
- PLBWSEC.DLL
- PLBWXF32.DLL
- SUNFHSYS.DLL
- PLBWIN.INI
<---- Be sure to edit paths ! ! ! ! (see below)
- DBSERIAL
- SUNINDEX.EXE
<---- If the client is licensed
We keep a file named
PLBWTRAN.ZIP in the
SUNBELT\CODE
directory on the primary development
machine that contains these files.
That file can be zipped using a control file PLBWTRAN.LIS using the
command (run on the W95 machine):
PKZIP PLBWTRAN @PLBWTRAN.TXT
There's a copy of that control file on both the download directory
and on the main development machine.
NOTE: We distribute two special versions of the PLBWIN.INI file
with the runtime download. One is
.INK and one is
.INS.
We use those names so that we don't overwrite a client specific
INI file with a software update.
We ran this on Windows 3.11 systems using the WIN32S system.
All programs seemed to work fine although some of the large
data lists would not work. Programs run on W3.11 must be
written with that restriction in mind.
There are examples in the STP system.
We no longer support Windows 3.x as of Summer 2000.
PROGRAM EXECUTION:
Single user. Client Site.
- For single user systems at client sites
- With everything in the same folder
- Set up a normal W/9x shortcut
- Use the command
PLBWIN {program}
- Specify the starting directory
- The one directory contains everything
PROGRAM EXECUTION:
MMCC Corporate site.
- PLBWIN components are in the standard Sunbelt location:
C:\SUNBELT\PLBWIN84\CODE
This is in the default PATH so Windows and
everyone else can find the programs.
- SOURCE and PLC's are in system specific directories.
i.e. \ADDRLIST; \HOMES; \PD; etc.
- DATA FILES are in CLIENT SPECIFIC directories.
\ADDRLSIT\STP;
\ADDRLSIT\TOUGHMAN;
\ADDRLSIT\ROTARY;
- Each CLIENT SPECIFIC directory contains a
user specific
PLBWIN-xxxx.INI file which includes
PLB_PATH={user system} pointing to
the SOURCE and PLC directory;
\ADDRLSIT\STP\PLBWIN-STP.INI
PLB_PATH=\ADDRLIST
\ADDRLSIT\TOUGHMAN\PLBWIN-TMAN.INI
PLB_PATH=\ADDRLIST
\ADDRLSIT\ROTARY\PLBWIN-ROT.INI
PLB_PATH=\ADDRLIST
- Set up a special W/9x shortcut
Use the command
PLBWIN {-i PLBWIN-xxxx.INI} {program}
Specify the starting directory as the DATA DIRECTORY.
The PLBWIN.INI contents should contain at least these lines:
- [environment]
- PLB_TERM=ansi {identify screen def file to use}
- PLB_SYSTEM= {path to PL/B runtime}
- PLB_PATH= {path to programs and data}
- PLBWIN_ICON={path} {icon file for task bar}
NOTE:
You can execute PLBWIN and use a private
INI file by making your start line (or shortcut):
PLBWIN -i {ini file path}
{program name}
Full list of options can be found in the
PL/B WINDOWS RUNTIME on-line help file.
v1.10