Hi, Ria!
>>
A set of public variables are defined in A.exe . They are assigned values from
an INI file. These variables are used in the program to define the location
of data etc.
<<
To store such information it's always better to use properties on an object instead of a lot of public variables:
- Create an object called goApp
- Add all properties you need and fill them.
- At all places you have to refer to any properties use goApp.MyProp...
NOTE: To bring that to live "goApp" itself must be a public variable, but the one and only in your system.
Now to the problem with A.EXE and B.EXE - here is my idea according to my solution above:
...
LOCAL loApp
loApp = goApp
RELEASE goApp
DO b.EXE
PUBLIC goApp
goApp = loApp
...
SeBaFlu