[comp.sys.ibm.pc] Memory Allocation Problem solved - Thanks

hlison@bbn.com (Herb Lison) (10/06/89)

Thanks to the many people who responded to my request on getting at
the unused memory in DOS.  Most people recommended using the alternate
memory models, in particular large and huge, or making use of the
far and huge versions of malloc, _fmalloc and halloc.  Since my
goal was not to have to modify my source code, the first approach seemed
to be the best, but it just didn't seem to work.  Turns out, lo and behold,
someone had modified one of the header files to explicitly declare malloc
as returning a near pointer, which is why the Large memory model didn't
do the trick.  Changing this back to it's original declaration solved
the problem.  I apologize for having taken up so many people's time on
this one; I should have checked those header files first thing.

Herb Lison