Announcement

Collapse
No announcement yet.

Possible RAM problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Possible RAM problem

    I am having a problem with data in RAM when running two programmes.

    My query is - is it possible for two programmes (PB/Vision) in memory
    at the same time and having the same names for variables to pick up the
    wrong data, say, programme "A" picks up data in variable A$ from programme
    "B" running at the same time and using the same variable name?

    I hope this is understandable.

    Regards,
    Brian Reynolds.
    Brian.

  • #2
    No.

    After a program is compiled, "datanames" no longer exist.

    Is one program a TSR? Heck, it must be, because if one isn't, they cannot both be in the same DOS address space. Then there are ways to share data.

    If this is two separate DOS sessions under some form of Windows, that's a horse of a different color, and you will likely need to set up a data file to share data between programs.

    (EDIT)
    Oops - just thought of something. Are you using Pointers? That can let you mix up data UNDER DOS IN THE SAME ADDRESS SPACE.


    -------------
    Michael Mattias
    Racine WI USA
    [email protected]

    [This message has been edited by Michael Mattias (edited January 12, 2000).]
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment

    Working...
    X