Announcement

Collapse
No announcement yet.

EXECUTE Memory lose

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

  • Tom Hanlin
    replied
    EXECUTE runs the program under a 16-bit command shell (typically
    COMMAND.COM). The command shell takes up a bit of memory.

    An alternate solution would be to have the program run from a .bat
    file. The file might normally look something like this:
    Code:
    :Start
      MyProgram.exe
      goto :Start
    When the program wants to end without restarting, it just creates a
    new .bat file without the goto.

    ------------------
    Tom Hanlin, PowerBASIC Staff
    Opinions expressed may not be those of my employer or myself

    Leave a comment:


  • M David Welch
    started a topic EXECUTE Memory lose

    EXECUTE Memory lose

    It seems using EXECUTE under Win2K reduces the available memory to the executed program.

    Would this be true and is they're a better way?

    We have a PB 3.5 program that "restarts" itself on command, but
    always has less memory on the restart than it had at the original start.

    Any help would be appreciated.

    ------------------
    M David
Working...
X