Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!uunet!microsoft!davidds From: davidds@microsoft.UUCP (David D'SOUZA) Newsgroups: comp.windows.ms.programmer Subject: Re: Multiple uses of the RC on an EXE file. Message-ID: <58869@microsoft.UUCP> Date: 7 Nov 90 01:59:29 GMT References: <442@shum.huji.ac.il> <119@metapyr.UUCP> Reply-To: davidds@microsoft.UUCP (David D'SOUZA) Organization: Microsoft Corp., Redmond WA Lines: 24 In article <119@metapyr.UUCP> marc@metapyr.UUCP (Marc Paige - The Karate Kid ) writes: >In article <442@shum.huji.ac.il> fenster@shum.huji.ac.il () writes: >> >>The problem is that I can't use the RC to load more than one .RES file into the >>.EXE file. >>Is there any way around this ? > >binary copy RC files back to back. We ran into this problem when our string >tables grew to large for RC to compile. We broke the tables into seperate .RC >files and then complied each seperately. You then use copy with the /b option >to build the final RES file. This is a bogus thing to do in general. In Win 2 this may have worked but in Win3 the result is a bogus exe file. The suggested method is to #include "foo.rc" in your main rc file. Then the 3.0 rc will generate one big res file. Win 2 rc had some size limitations which were removed in Win 3. --Dave