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. EXE resources

EXE resources

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestionvisual-studiodata-structureslearning
9 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.
  • L Offline
    L Offline
    lbc
    wrote on last edited by
    #1

    hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Question: -how to insert one of these resources (for example a complex dialog to use it as a starting point for layout a similar one) into an existing project? thanks in advance for any tip best regards

    C S 2 Replies Last reply
    0
    • L lbc

      hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Question: -how to insert one of these resources (for example a complex dialog to use it as a starting point for layout a similar one) into an existing project? thanks in advance for any tip best regards

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      In VC 6, resources were a text format which you could copy between projects. I dunno if this is still the case tho. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002

      1 Reply Last reply
      0
      • L lbc

        hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Question: -how to insert one of these resources (for example a complex dialog to use it as a starting point for layout a similar one) into an existing project? thanks in advance for any tip best regards

        S Offline
        S Offline
        Stephane Rodriguez
        wrote on last edited by
        #3

        lbc wrote: hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Using VC++ I personnaly usually have both the current resource tree open, and I do a open file, adding the other .rc file in the open windows. Then I can select and copy a resource from one of the trees, and paste it to the other. VC++7 does not change anything to this. Now if you are using VC++7 with a managed C++ project, it's of course a different matter. You can't copy/paste resources from/to a .rc to a .resx In fact, what you need is a VC add-in. But I wonder how many years you have to wait before someone comes with such a useful tool (which should have been provided by the way by MS). These days, people on Cp seem to love articles for instance explaining how to crack a url, even though at the end they just use ::InternetCrackUrl(). As long as we are stuffed with this kind of shit, I am afraid you are unlikely to see anything good for you or for the overall dev community. Good luck!


        Back to real work : D-16.

        U L 2 Replies Last reply
        0
        • S Stephane Rodriguez

          lbc wrote: hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Using VC++ I personnaly usually have both the current resource tree open, and I do a open file, adding the other .rc file in the open windows. Then I can select and copy a resource from one of the trees, and paste it to the other. VC++7 does not change anything to this. Now if you are using VC++7 with a managed C++ project, it's of course a different matter. You can't copy/paste resources from/to a .rc to a .resx In fact, what you need is a VC add-in. But I wonder how many years you have to wait before someone comes with such a useful tool (which should have been provided by the way by MS). These days, people on Cp seem to love articles for instance explaining how to crack a url, even though at the end they just use ::InternetCrackUrl(). As long as we are stuffed with this kind of shit, I am afraid you are unlikely to see anything good for you or for the overall dev community. Good luck!


          Back to real work : D-16.

          U Offline
          U Offline
          udayGovekar
          wrote on last edited by
          #4

          add the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required hope it solves your problem

          S 1 Reply Last reply
          0
          • U udayGovekar

            add the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required hope it solves your problem

            S Offline
            S Offline
            Stephane Rodriguez
            wrote on last edited by
            #5

            udayGovekar wrote: add the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required :confused: What do you mean ? Aren't you saying that although you can copy/paste resources from two projects, it won't work in the end ? udayGovekar wrote: hope it solves your problem Not mine, eh.


            Back to real work : D-16.

            U 1 Reply Last reply
            0
            • S Stephane Rodriguez

              udayGovekar wrote: add the resource to ur project,copy those resource you require into your resource. It may give some error when you compile update the string table if required :confused: What do you mean ? Aren't you saying that although you can copy/paste resources from two projects, it won't work in the end ? udayGovekar wrote: hope it solves your problem Not mine, eh.


              Back to real work : D-16.

              U Offline
              U Offline
              udayGovekar
              wrote on last edited by
              #6

              you copy and pasted the rsource but still it might give you a compilation error because of ID not defined. I have done simillar kind of work in one of my projects, it gave compilation error. Delete the resouce you have added for copying into ur current project

              U 1 Reply Last reply
              0
              • U udayGovekar

                you copy and pasted the rsource but still it might give you a compilation error because of ID not defined. I have done simillar kind of work in one of my projects, it gave compilation error. Delete the resouce you have added for copying into ur current project

                U Offline
                U Offline
                udayGovekar
                wrote on last edited by
                #7

                It might giving u error saying some resource not defined, chek for that and update your string table If still there is a problem then tell me what exaclty the error message is

                S 1 Reply Last reply
                0
                • U udayGovekar

                  It might giving u error saying some resource not defined, chek for that and update your string table If still there is a problem then tell me what exaclty the error message is

                  S Offline
                  S Offline
                  Stephane Rodriguez
                  wrote on last edited by
                  #8

                  I have to disagree then. I have just done a test and when I pasted the dialog and menus from another project, all the missing resource IDs in resource.h have been created. At least it works for dialogs and menus. What are the kind of resources which raised issues for you ?


                  Back to real work : D-16.

                  1 Reply Last reply
                  0
                  • S Stephane Rodriguez

                    lbc wrote: hello every1 -VC7: in the IDE open an exe/dll file to examine the resources -i can see the resources tree (dialogs, icons etc.) -i can edit/copy any resource but only staying within this tree Using VC++ I personnaly usually have both the current resource tree open, and I do a open file, adding the other .rc file in the open windows. Then I can select and copy a resource from one of the trees, and paste it to the other. VC++7 does not change anything to this. Now if you are using VC++7 with a managed C++ project, it's of course a different matter. You can't copy/paste resources from/to a .rc to a .resx In fact, what you need is a VC add-in. But I wonder how many years you have to wait before someone comes with such a useful tool (which should have been provided by the way by MS). These days, people on Cp seem to love articles for instance explaining how to crack a url, even though at the end they just use ::InternetCrackUrl(). As long as we are stuffed with this kind of shit, I am afraid you are unlikely to see anything good for you or for the overall dev community. Good luck!


                    Back to real work : D-16.

                    L Offline
                    L Offline
                    lbc
                    wrote on last edited by
                    #9

                    Thank you both guys >>Using VC++ I personnaly usually have both the current resource tree open, and I do a open file, adding the other .rc file in the open windows. Then I can select and copy a resource from one of the trees, and paste it to the other. VC++7 does not change anything to this. you are rigth, i have tried again and this time it works as advertised for some strange reason the 'paste' action was grayed before on the resource tree inside my vc7 IDE thanks again! best regards

                    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