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 remove unused resource IDs ?

How to remove unused resource IDs ?

Scheduled Pinned Locked Moved C / C++ / MFC
questionjavaperltoolshelp
3 Posts 2 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.
  • A Offline
    A Offline
    albuemil
    wrote on last edited by
    #1

    Hy. I'm trying to clean up a "huge" project, and since i have a few thousand resource IDs in the "resource.h" file, it's a pain in the b.t to try to remove the ones that are really not used in the RC file. I've found a tool, the ResOrgNET program which can find duplicate IDs, but it still doesn't help in removing the IDs that are not used anymore. The question is : is there an add-in, program or maybe even a Perl/Java/whatever script that can help me find the duplicate resources ? (it must no remove them automatically, it should either only report them so i can remove them manually, or show a dialog in which i can tell it which ones to remove). Thanks in advance.

    There's no teacher who can teach us anything new He can just help us to remember the things we always knew! E N I G M A

    P 1 Reply Last reply
    0
    • A albuemil

      Hy. I'm trying to clean up a "huge" project, and since i have a few thousand resource IDs in the "resource.h" file, it's a pain in the b.t to try to remove the ones that are really not used in the RC file. I've found a tool, the ResOrgNET program which can find duplicate IDs, but it still doesn't help in removing the IDs that are not used anymore. The question is : is there an add-in, program or maybe even a Perl/Java/whatever script that can help me find the duplicate resources ? (it must no remove them automatically, it should either only report them so i can remove them manually, or show a dialog in which i can tell it which ones to remove). Thanks in advance.

      There's no teacher who can teach us anything new He can just help us to remember the things we always knew! E N I G M A

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      in VC 6, view-->Resource symbols helps you to remove unused ids.

      Prasad Notifier using ATL | Operator new[],delete[][^]

      A 1 Reply Last reply
      0
      • P prasad_som

        in VC 6, view-->Resource symbols helps you to remove unused ids.

        Prasad Notifier using ATL | Operator new[],delete[][^]

        A Offline
        A Offline
        albuemil
        wrote on last edited by
        #3

        Thanx prasad_som, I didn't know about that option, it's exactly what I needed. I've found in in Visual Studio.Net too, when you rightclick in the resource view on any of the resources there's the "Resource Symbols" option.

        There's no teacher who can teach us anything new He can just help us to remember the things we always knew! E N I G M A

        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