[comp.windows.ms] Help need a better RC

PA126318@tecmtyvm.mty.itesm.mx (Alfredo Delgado-Garza) (03/21/90)

Hi.

I am having troubles compiling a big resource file, I get an out of memory
error.

I had that problem before and it was fixed by eliminating all the
defines and using numbers instead of .h files full of defines.

My .rc is very big (120k) and now I am unable to compile.

I hope there is a solution.
-------

   Alfredo Delgado Garza                BITNET: PA126318@TECMTYVM
    I.T.E.S.M.                   INTERNET: PA126318@TECMTYVM.MTY.ITESM.MX
   Monterrey NL, Mexico                    adelgado@mtcev2.mty.itesm.mx

michael1@cbnewsd.ATT.COM (michael.k.pula) (03/22/90)

In article <90079.155240PA126318@tecmtyvm.mty.itesm.mx> PA126318@tecmtyvm.mty.itesm.mx (Alfredo Delgado-Garza) writes:
>Hi.
>
>I am having troubles compiling a big resource file, I get an out of memory
>error.
>
>My .rc is very big (120k) and now I am unable to compile.
>
>I hope there is a solution.

   I had a similar problem which was fixed by:

      1).  Never using windows.h as the include for the RC files.
           (use style.h instead)
      2).  Splitting the RC file into 2 or more parts and CATing them
           together like:
               RC -R RC1.RC
               RC -R RC2.RC
               COPY RC1.RES/B + RC2.RES/B RC3.RES/B

    Hope this helps!
 ______   _______   _____   _______     -------      Michael K. Pula
/  __  \ <__   __> /  __ \ <__   __>  -====------    AT&T Bell Laboratories
| (__) |    | |    \  \ \_\   | |    -======------   200 Park Plaza  Rm.1A-407 
|  __  |    | |    /  _) __   | |    --====-------   Naperville, Il. 60566
| |  | |    | |   (  (__/ /   | |     -----------    (708) 713-7584
|_|  |_|    |_|    \_____/    |_|       -------      ..att!ihlpf!michael1