Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to use more than one rc file in vc6 project at the same time when compiling project

how to use more than one rc file in vc6 project at the same time when compiling project

Scheduled Pinned Locked Moved C / C++ / MFC
debugginghelptutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yingkou
    wrote on last edited by
    #1

    I want to use many a rc file in vc6 project when compiling, dsp file format is below: # Begin Source File SOURCE=.\05.rc -> corresponding to r5.h # End Source File # Begin Source File SOURCE=.\04.rc -> corresponding to r4.h # End Source File # Begin Source File SOURCE=.\03.rc -> corresponding to r3.h # End Source File # Begin Source File SOURCE=.\r5.h # End Source File # Begin Source File SOURCE=.\r4.h # End Source File # Begin Source File SOURCE=.\r3.h # End Source File there is a link error(cannot open file ".\Debug\05.res") when compiling, 03.res is created, 04.res and 05.res are not created,how can I do ?

    L D F 3 Replies Last reply
    0
    • Y yingkou

      I want to use many a rc file in vc6 project when compiling, dsp file format is below: # Begin Source File SOURCE=.\05.rc -> corresponding to r5.h # End Source File # Begin Source File SOURCE=.\04.rc -> corresponding to r4.h # End Source File # Begin Source File SOURCE=.\03.rc -> corresponding to r3.h # End Source File # Begin Source File SOURCE=.\r5.h # End Source File # Begin Source File SOURCE=.\r4.h # End Source File # Begin Source File SOURCE=.\r3.h # End Source File there is a link error(cannot open file ".\Debug\05.res") when compiling, 03.res is created, 04.res and 05.res are not created,how can I do ?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Do not do this by editing the .dsp file. Use the Solution window of the IDE to add files to your project.

      One of these days I'm going to think of a really clever signature.

      Y 1 Reply Last reply
      0
      • L Lost User

        Do not do this by editing the .dsp file. Use the Solution window of the IDE to add files to your project.

        One of these days I'm going to think of a really clever signature.

        Y Offline
        Y Offline
        yingkou
        wrote on last edited by
        #3

        when Adding another rc file to workspace, IDE prompt only one resource file can be added to project when compiling。

        1 Reply Last reply
        0
        • Y yingkou

          I want to use many a rc file in vc6 project when compiling, dsp file format is below: # Begin Source File SOURCE=.\05.rc -> corresponding to r5.h # End Source File # Begin Source File SOURCE=.\04.rc -> corresponding to r4.h # End Source File # Begin Source File SOURCE=.\03.rc -> corresponding to r3.h # End Source File # Begin Source File SOURCE=.\r5.h # End Source File # Begin Source File SOURCE=.\r4.h # End Source File # Begin Source File SOURCE=.\r3.h # End Source File there is a link error(cannot open file ".\Debug\05.res") when compiling, 03.res is created, 04.res and 05.res are not created,how can I do ?

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          yingkou wrote:

          I want to use many a rc file in vc6 project when compiling, dsp file format is below:

          You can have only one .rc file, but I believe you can have multiple .rc2 files.

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous

          1 Reply Last reply
          0
          • Y yingkou

            I want to use many a rc file in vc6 project when compiling, dsp file format is below: # Begin Source File SOURCE=.\05.rc -> corresponding to r5.h # End Source File # Begin Source File SOURCE=.\04.rc -> corresponding to r4.h # End Source File # Begin Source File SOURCE=.\03.rc -> corresponding to r3.h # End Source File # Begin Source File SOURCE=.\r5.h # End Source File # Begin Source File SOURCE=.\r4.h # End Source File # Begin Source File SOURCE=.\r3.h # End Source File there is a link error(cannot open file ".\Debug\05.res") when compiling, 03.res is created, 04.res and 05.res are not created,how can I do ?

            F Offline
            F Offline
            Freak30
            wrote on last edited by
            #5

            You can open the primary .rc file in text mode and include the other .rc files. We do this for translation purposes in one of our applications.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups