AnsweredAssumed Answered

VRF - Pass Variables

Question asked by VRFuser on Jul 12, 1996
I have a need to pass variables into VEE and have been able to with
little trouble in HP-UX but am a newcomer to PC's so could use
some guidance.

In short, inside VEE I need to programmatically figure out where
VEE is installed. In Unix the script that initiates VEE first
sets a variable VEEROOT to the appropriate directory and then
in VEE I use the Execute Program to access this variable and return
it to VEE. This works fine and is pretty much foolproof since
the unix call to initiate VEE is $VEEROOT/veetest, so that
VEEROOT is always valid.

Well now I'm looking at Windows and don't see how to proceed. VEE
doesn't start from a script and even if it did the Execute Program
can't return values from the external program. I have this
vague idea of writing an external program which somehow figures
this out and writes the information to a file, then reading in the
file inside VEE and continuing. However I _don't_ see how an external
program can figure out where VEE resides since while I could
look for VEE, there may be 2 or more versions installed and I see no
way to see which one I am actually accessing.

SO- from inside VEE- how can I tell where VEE is installed in a Windows

This is ciritical for me since my only other choice is hard-coding this
information in my VEE program- in which case my program is no longer
portable, which is a requirement.

thanks for any hints

Stan Bischof   Hewlett Packard Company   707-577-3994