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 merge resources in VC++

How to merge resources in VC++

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestionworkspace
4 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.
  • K Offline
    K Offline
    Kamesh
    wrote on last edited by
    #1

    Hi , How to merge resources developed in differnet project work spaces?? I tried with Open source work space ->select dialog, Edit->copy, Opened target workspace -> Edit paste. But i could copy only dialog, but not associated .h and .cpp files and member varables. Any suggessions Thanks in advance --Kamesh

    W L K 3 Replies Last reply
    0
    • K Kamesh

      Hi , How to merge resources developed in differnet project work spaces?? I tried with Open source work space ->select dialog, Edit->copy, Opened target workspace -> Edit paste. But i could copy only dialog, but not associated .h and .cpp files and member varables. Any suggessions Thanks in advance --Kamesh

      W Offline
      W Offline
      Willem B
      wrote on last edited by
      #2

      Import the .cpp and .h files into your project and change the App class(#include "myapp.h") of the .cpp files. then also rename the Resources(IDD_yourresource) into the names you use in your cpp and h files(or the other way around, change the names in your .cpp and .h files) it should workt then. []D [] []D []

      1 Reply Last reply
      0
      • K Kamesh

        Hi , How to merge resources developed in differnet project work spaces?? I tried with Open source work space ->select dialog, Edit->copy, Opened target workspace -> Edit paste. But i could copy only dialog, but not associated .h and .cpp files and member varables. Any suggessions Thanks in advance --Kamesh

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

        Just open your new project and open just the old rc file(OldProjectName.rc) on old project. rc file is a compiled resource file. You can see resource tree, Select the node you want and drag or copy to the left resource tab on workspace.

        1 Reply Last reply
        0
        • K Kamesh

          Hi , How to merge resources developed in differnet project work spaces?? I tried with Open source work space ->select dialog, Edit->copy, Opened target workspace -> Edit paste. But i could copy only dialog, but not associated .h and .cpp files and member varables. Any suggessions Thanks in advance --Kamesh

          K Offline
          K Offline
          KarstenK
          wrote on last edited by
          #4

          Open the the sourve and target Rc in Textmode or with a texteditor, than copy and paste the Dialoges. You must than also copy the ID defines from the header and ready. PS: you could also put some Standard-dialoges in an extra dll Try this @ home. (B&B)

          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