Path: utzoo!attcan!uunet!samsung!umich!ox.com!metapyr!marc From: marc@metapyr.UUCP ( The Karate Kid ) Newsgroups: comp.windows.ms.programmer Subject: Re: Multiple uses of the RC on an EXE file. Message-ID: <119@metapyr.UUCP> Date: 5 Nov 90 15:31:05 GMT References: <442@shum.huji.ac.il> Reply-To: marc@metapyr.UUCP (Marc Paige - The Karate Kid ) Organization: Meta/LBMS -- Ann Arbor, MI Lines: 37 In article <442@shum.huji.ac.il> fenster@shum.huji.ac.il () writes: > >I am developing an application with many windows and dialog boxes. >The different dialog boxes are spread around quite a few files, >so that I can use the same names (ID_NAME,ID_DATE,...) in different windows. >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 ? >At the moment I have a .RC file which does #include to all of the windows and >I need to spread around quite a lot of #ifndef/#undef/#endif to prevent errors. > >Anyone have any idea ? > > Thanx > > Yaacov (stupid mailer) An RC file is a binanry file that is placed into the .EXE file. This binary file is also built using a 16 byte boundry (I think). This makes is possible 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. You're welcome, Marc ------------------------------------------------------------------------------- "tired and shagged out from a prolonged squawk" - mpfc the parrot sketch