Remapping resource script ID's

This is code which a lot of people on the WinDev list keep requesting from me. It resequences the define's in a resource.h file. I use it primarily for DLL's when I don't want the resource id's to overlap with id's used in other DLL's or in the main program. The program simply renumbers all ID_?, IDC_? And IDS_? starting at a given value. A .inf file is written which retains the settings for future use. IDS_?'s are maintained at their offset within each 16 string table (ie "IDS_ % 16" is unchanged). This is the source and a build (VC 5) for the RCRemap utility. I developed it from source from an individual whose name I've forgotten. The code has worked well for me [disclaimer on] but I make no claims as to its fitness for any particular purpose. Use at your own risk [disclaimer off]. The code is public domain as far as I'm concerned.

Download source - 21KB



Comments

  • DLL REBUILDER

    Posted by Legacy on 06/13/1999 12:00am

    Originally posted by: Terence Owens

    1. Is there a program that can "rebuild" or "fix" a dll once it has been corrupted or "blown-out"? I distorted my winsock.dll which caused major havoc when attempting to reach the Internet. When I replaced this file, my internet connection returned.

    2. In Win98 on a Netware 5 server-client base, there have been many errors with internet connection to certain sites. In Win95, there is a winsock2.dll but there is none for Win98 and there seems to be no way in hell that Novell or Microsoft is going to make a patch of the equivalent Win95 winsock2.dll. Is there a way I can create my own Winsock2.dll for Win98?


    Thank you,
    Terence

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

  • Live Event Date: May 6, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT While you likely have very good reasons for remaining on WinXP after end of support -- an estimated 20-30% of worldwide devices still are -- the bottom line is your security risk is now significant. In the absence of security patches, attackers will certainly turn their attention to this new opportunity. Join Lumension Vice President Paul Zimski in this one-hour webcast to discuss risk and, more importantly, 5 pragmatic risk mitigation techniques …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds