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.

  • The latest release of SugarCRM's flagship product gives users new tools to build extraordinary customer relationships. Read an in-depth analysis of SugarCRM's enhanced ability to help companies execute their customer-facing initiatives from Ovum, a leading technology research firm.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds