Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!decwrl!uunet!microsoft!matts From: matts@microsoft.UUCP (Matt SAETTLER) Newsgroups: comp.windows.ms Subject: Re: Another RC warning question Message-ID: <58045@microsoft.UUCP> Date: 8 Oct 90 18:22:23 GMT References: <90269.143156LIBCRN@BYUVM.BITNET> <18950038@hpfinote.HP.COM> <57851@microsoft.UUCP> <1990Oct2.145528.15463@cbnewsh.att.com> Reply-To: matts@microsoft.UUCP (Matt SAETTLER) Distribution: usa Organization: Microsoft Corp., Redmond WA Lines: 34 In article <1990Oct2.145528.15463@cbnewsh.att.com> twb@cbnewsh.att.com (thomas.w.beattie) writes: | |I get the following warning. |What does it mean? |Which segment is 89? | RC: warning RW4002: Entry point segment 89 set to PRELOAD | |.DEF file contains: | NAME Illus | | EXETYPE WINDOWS | | STUB 'WINSTUB.EXE' | | CODE PRELOAD MOVEABLE DISCARDABLE | DATA PRELOAD FIXED | SEGMENTS | TWB_TEXT MOVEABLE DISCARDABLE LOADONCALL | [Lots more lines like the above deleted] | You can determine which segment is 89 by looking at the .MAP file (when you use the /MAP option on the link line). Your entry point for your program is not PRELOAD, so the warning is telling you that it is making the segment containing the entry point PRELOAD instead of the explicit LOADONCALL that you have specified. Why are you trying to make your DATA segment FIXED? MattS ------------------------------------------------------------- These thoughts are all my own, or so I'm told to say...