Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!spot!rainbow!tomer From: tomer@rainbow.wbst128.xerox.com (Shmuel Tomer) Newsgroups: comp.windows.ms Subject: Re: Generic in Large Model Message-ID: <246@spot.wbst128.xerox.com> Date: 17 Oct 89 15:02:09 GMT References: <7887@microsoft.UUCP> Sender: news@spot.wbst128.xerox.com Reply-To: Tomer.wbst@Xerox.COM (Shmuel Tomer) Organization: WRC, XEROX Lines: 18 In article <7887@microsoft.UUCP> roberth@microsoft.UUCP (Robert Hess) writes: > >First off, a comment on using the LARGE memory model... > > *** DON'T *** If you don't use the LARGE memory model, and if you use GlobalAlloc to get additional memory, is there any way you could call C library functions (eg, strcmp, sprintf), using data from that additional memory? Do you have to re-implement any such function? I seem to remember that one of the sample programs in the SDK does implement strcmp with mixed NEAR / FAR arguments. This is easy, though probably inefficient, but re-implementing sprintf may not be exactly where one wants to spend one's time. Shmuel Tomer Tomer.wbst@Xerox.COM