Path: utzoo!dciem!nrcaer!sce!cognos!craigs From: craigs@cognos.UUCP (Craig Statchuk) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: Microsoft C Mem Model Question Message-ID: <8442@cognos.UUCP> Date: 6 Jun 90 12:32:54 GMT References: <1990Jun1.155611.13271@jarvis.csri.toronto.edu> Reply-To: craigs@cognos.UUCP (Craig Statchuk) Organization: Cognos Inc., Ottawa, Canada Lines: 28 In article <1990Jun1.155611.13271@jarvis.csri.toronto.edu> west@turing.toronto.edu (Tom West) writes: > > >Under what conditions would one consider compiling something in Microsoft C >with the -Alfu option. This should specify large code, large data model but >also specify SS != DS, DS reloaded on function entry. When would one use >such a feature in a C program? > What you are most likely looking at is a library that is ment to be used in an application like a Microsoft Windows Dynamic Link Library. It allows programs to linked at run-time to use a particular static data area but a different run-time stack. Not very easy to use is it? (Welcome to the world of WINDOWS PROGRAM DEVELOPMENT--an oxymoron perhaps?). While programming with DS != SS is a real pain in MSC V5.1, rumour has it that MSC V6.0 provides some level of support. The funny thing about the options given (-Alfu) is that the LARGE memory model is specified. This model cannot be used easily with MS Windows. /CS -- Craig Statchuk USENET : uunet!mitel!sce!cognos!craigs Cognos Incorporated INTERNET : craigs%cognos.uucp@uunet.uu.net 3755 Riverside Dr. MaBellNET: (613) 738-1440 Ottawa, Ontario K1G 3Z4 FaxNET : (613) 738-0002