[comp.os.msdos.programmer] Shared programs in Desqview

dmurdoch@watstat.waterloo.edu (Duncan Murdoch) (09/29/90)

In the October issue of Byte, there's mention of the shared program
option in Desqview windows.  What it says (and I'm working from memory) is
that if you specify a shared program, then DV will make sure a copy of that
program is loaded before the window is opened; if one is already loaded, you'll
share the same copy, rather than loading a new one.

This gave me the idea of loading some of my TSRs to be shared between different
windows - the context sensitive help TSR from Object Professional, Anarkey,
things like that.  I definitely don't want them loaded in every window, or
I'd just try loading them before running DV.

The trouble is that the shared program gets loaded by DV, not by DOS, and
doesn't get a PSP, so you have to write it in a special format.  My question
is:

Can a shared program call DOS, especially DOS's Exec service, and load a
bunch of TSRs?

Duncan Murdoch
dmurdoch@watstat.waterloo.edu

Ralf.Brown@B.GP.CS.CMU.EDU (09/30/90)

In article <1990Sep28.175957.14872@maytag.waterloo.edu>, dmurdoch@watstat.waterloo.edu (Duncan Murdoch) wrote:
}In the October issue of Byte, there's mention of the shared program
}option in Desqview windows.  What it says (and I'm working from memory) is
}[...]
}This gave me the idea of loading some of my TSRs to be shared between different
}windows...
}The trouble is that the shared program gets loaded by DV, not by DOS, and
}doesn't get a PSP, so you have to write it in a special format.  My question
}is:
}Can a shared program call DOS, especially DOS's Exec service, and load a
}bunch of TSRs?

I don't know about calling DOS (I'm not that familiar with shared programs),
but you should be aware that shared programs reduce the maximum window size
by the size of the shared program.  Thus, loading TSRs as shared programs
will have the same negative impact on window size that they would have when
loaded low from DOS before DESQview.


}
}Duncan Murdoch
}dmurdoch@watstat.waterloo.edu
}
--
UUCP: {ucbvax,harvard}!cs.cmu.edu!ralf -=- 412-268-3053 (school) -=- FAX: ask
ARPA: ralf@cs.cmu.edu  BIT: ralf%cs.cmu.edu@CMUCCVMA  FIDO: 1:129/3.1
Disclaimer?    |   I was gratified to be able to answer promptly, and I did.
What's that?   |   I said I didn't know.  --Mark Twain