Hallo Fred!
Antwort auf eine Message von Fred Springfield an Mario Semo:
FS> Thanks for your input. One of the IBM developers recommended that I
FS> be sure to put the VACPP dll's after the OS/2 dll'l in the LIBPATH,
FS> and also the similar thing for the PATH statement, because the OS/2
FS> stuff is newer.
thats according to what i say.
FS> However, I still have a conflict with the SET SOMRUNTIME statement
FS> which is generated by VACPP and Lotus S/S, and points to different
FS> directories.
let SOMRUNTIME point to the directory where SOM is loaded from. which in your
case is OS2. (and not Lotus).
here is a old mail regarding this (and one other) envir setting
# 3305 S1/SOMHowTo
04-Jan-96 21:23:43
Sb #3243-SOMRUNTIME etc.
Fm Ryszard Kwiatkowski 76711,1331
To mario semo 100414,1025
18184 Re: SOMRUNTIME etc.
Mario,
Regarding the
SET SMCLASSES=WPTYPES.IDL
SET SOMRUNTIME=F:\IBMCPP\DLL statements you asked about before:
??????????????????????????????????????????????????????????????????????????
SOMobjects Developer Toolkit Users Guide
Page B - 1
The SOM Toolkit supplies a program, ctoi , to assist users
in converting .csc files to .idl files. Before running ctoi
, ensure that the directories containing files to convert
have all the neces - sary .sc and .psc files already
created. (The SOM Compiler can be run with the -ssc and
-spsc options to create .sc and .psc files from a .csc
file.) The conversion process requires a list of all the
classes used in the files to be converted, so that forward
references to classes can be handled correctly . Store this
list of class names in some file (for example, clsfile ).
The name of this file must be specified to the SOM Compiler
by the SMCLASSES environment variable:
For OS/2:
SET SMCLASSES=clsfile
For AIX:
export SMCLASSES=clsfile
The process of converting .csc files to .idl files requires
a list of all the classes used in the .csc files so that
forward references to classes can be handled correctly.
The list must be stored in a file, and the SMCLASSES
environment variable establishes the file name when
ctoi is run.
I believe the key to SMCLASSES appears to be the phrase
"forward reference". I was able to run "ctoi" and successfully
convert a .csc file to an .idl file with SMCLASSES unset.
If no forward references are made, the SMCLASSES and the
associated file contents do not appear to be required.
Install support for SOM apps Installation/Configuration Guide
Page 105
Windows applications
Since SOMobjects is not supplied in the Windows operating system, a base
reference point is needed for every application that installs the
SOMobjects
W orkstation Enabler run time. On the Windows system, this is determined
from
the value of the SOMRUNTIME environment variable.
To package and install a version of the SOMobjects Workstation Enabler run
time for Windows, you must adhere to the following rule:
The SOMobjects Workstation Enabler run time must be loaded from only
one place on the system, and that place is the directory pointed to by
SOMRUNTIME . If the SOMRUNTIME environment variable has not previously
been set, the location of the run time is at the discretion of the install
program. However , SOMRUNTIME must be set to the installed directory
following the installation.
????????????????????????????????????????????????????????????????????????????
rlj-18184
Ryszard Kwiatkowski PSP-SOMobjects Technical Support sombug@austin.ibm.com
mario semo, LC/32 Development Team, kirchner SOFT, Vienna, Austria.
Servus, Mario!
--- FleetStreet 1.21 PR#2
251/25
* Origin: LC/32 Development Team, http://www.kirchnersoft.com (2:310/14.11)
|