home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
TOOLKIT
/
CREXX
/
DEVINFO
/
README
< prev
Wrap
Text File
|
1995-06-08
|
2KB
|
68 lines
DEVINFO - REXX Variable Pool Interface
DESCRIPTION
This program issued DosDevConfig and returns the data in a collection of
compound variables when all available items are requested, or a single variable
when only one item is requested. This is a REXX subcommand handler and
Variable Pool example.
Devinfo.cmd invokes entry points provided in Devinfo.c to access
device information
TASK:
Provides Device Information to REXX Programs using the DosDevConfig
system call.
CONCEPT/FEATURE:
Sample to access device information from REXX Programs.
SAMPLE LOCATION:
Inside the CREXX Sample Programs (which is inside the VisualAge C++
Samples folder).
Note:This sample is not provided in project form.
SOURCE FILE LOCATION:
X:\ibmcpp\samples\toolkit\crexx\devinfo
where X: is the drive you installed the samples and document component
of VisualAge C++ for OS/2.
HOW TO RUN THE SAMPLE:
-From your OS/2 desktop:
Double-click on the sample's icon.
-From an OS/2 command prompt:
To start a non-WorkPlace Shell sample program from an OS/2 command
prompt, type the name of the executable file and press Enter. If you
have edited source code of a sample program and want to recompile,link,
and run the files, use the NMAKE tool. Your output is the executable
file. For information about the NMAKE utility, see the
OS/2 Tools Reference.
SOFTWARE/HARDWARE REQUIREMENTS:
- IBM VisualAge C++
- OS/2 Warp
- IBM or compatible 386 and up.
REQUIRED FILES DESCRIPTION
devinfo.c Sample C Source
devinfo.cmd The Rexx command file
devinfo.def defines the exported entry points
devinfo.dll The dll containing the devinfo binary
devinfo.ico
devinfo.mak makefile generated by MakeMake
readme This file