Xref: utzoo comp.lang.c:5983 comp.sys.ibm.pc:10146 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!mordor!sri-spam!ames!ucbcad!ucbvax!ucdavis!iris!kwok From: kwok@iris.ucdavis.edu (Conrad Kwok) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: QC problems Message-ID: <776@ucdavis.ucdavis.edu> Date: 5 Jan 88 20:23:37 GMT References: <3790@rosevax.Rosemount.COM> Sender: uucp@ucdavis.ucdavis.edu Reply-To: kwok@iris.UUCP (Conrad Kwok) Organization: U.C. Davis - College of Engineering Lines: 13 Keywords: MS, QC In article <3790@rosevax.Rosemount.COM> richw@rosevax.Rosemount.COM (Rich Wagenknecht) writes: > >The software runs perfectly under QC with in memory compilation but will >not run when compiled to an executable using QC or MSC 5.0. > >Rich W In QC, the default memory model is M(edium) but in QCL and CL the default memory model is S(mall). That may cause some problems if you use any pointer to function. Becasue in QC, the pointer will be far pointer but in QCL and CL, the pointer will be near. So I would suggest you to compile the program using /AM under QCL and CL. Conrad.