Path: utzoo!attcan!uunet!microsoft!davidds From: davidds@microsoft.UUCP (David D'SOUZA) Newsgroups: comp.windows.ms Subject: Re: What does this warning mean? Message-ID: <57851@microsoft.UUCP> Date: 1 Oct 90 16:48:38 GMT References: <90269.143156LIBCRN@BYUVM.BITNET> <18950038@hpfinote.HP.COM> Reply-To: davidds@microsoft.UUCP (David D'SOUZA) Organization: Microsoft Corp., Redmond WA Lines: 19 All this means is that in your def file, you have a segment marked MOVEABLE or FIXED but it isn't marked PRELOAD. The segment isn't DISCARDABLE so Windows needs to make sure it is loaded when the app starts so RC tells you it is doing the sensible thing and forcing it to PRELOAD even though you didn't explicitly tell it to. Fix this by adding PRELOAD to the segments in question. (or make them discardable) --Dave In article <18950038@hpfinote.HP.COM> pnl@hpfinote.HP.COM (Peter Lim) writes: >> >> I have been programming for windows only a short time and >> I love it. I do, however, have a small problem that I chould >> use some help with. >> Every program that I compile ends with these messages from >> the resource compiler: >> >> RC: warning RW4002: Non-discardable segment 1 set to PRELOAD >> RC: warning RW4002: Non-discardable segment 2 set to PRELOAD