Subj : Re: DOS overlays To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Mon Jun 07 2004 08:48 pm The BC++ 5.02 linker support for overlays is broken. The only workaround I know of is to use an earlier linker. .. Ed > Doug Nichols wrote in message > news:40c4f4dc@newsgroups.borland.com... > I am (still!) supporting a suite of DOS order-entry and invoicing > programs I wrote in the early 1990s under BC++ 3.1. > > The largest exe in the project is around 500K. As an overlay it leaves > about 130K of RAM available at the point where it is fully initialised > and waiting for a keystroke. It has been trouble-free for years. The > same program compiled as a standard DOS exe (without overlays) has 30K > of RAM available at the same point, and fails before it has a chance to > be useful. > > I am currently converting the whole project to BC++ 5.02 (a platform I > have used a lot for Windows programming) and I now find that overlays > aren't working. The programs behave the same regardless of my choice of > Standard or Overlay - the same, in fact, as the non-overlaid ones built > under BC++ 3.1. > > I believe I have set all the appropriate options. The generated make > file appears to be correct, including linking overlay.lib. > > Is there something I am missing here? .