Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!eagle!news From: monty@blackhole.lerc.nasa.gov (Monty Andro) Newsgroups: comp.os.msdos.programmer Subject: Calc. program size for Microsoft C _dos_keep function ? Keywords: TSR Message-ID: <1990Sep29.125312.20416@eagle.lerc.nasa.gov> Date: 29 Sep 90 12:53:12 GMT Reply-To: monty@blackhole.lerc.nasa.gov (Monty Andro) Distribution: usa Organization: NASA Lewis Research Center Lines: 11 I'm attempting to use Microsoft C's _dos_keep function but I do not know how to calculate the 2'd paramter required by this function. The 2'd paramter is the desired size in 16 byte paragraphs of the program that you want to remain resident. Does anybody know how to calculate this, or is there some function call that I can use to get the desired size. Any help with my problem would be greatly appreciated. Thanks monty