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

  • This paper introduces IBM Java on the IBM PowerLinux 7R2 server and describes IBM's implementation of the Java platform, which includes IBM's Java Virtual Machine and development toolkit.

  • A modern mobile IT strategy is no longer an option, it is an absolute business necessity. Today's most productive employees are not tied to a desk, an office, or a location. They are mobile. And your company's IT strategy has to be ready to support them with easy, reliable, 24/7 access to the business information they need, from anywhere in the world, across a broad range of communication devices. Here's how some of the nation's most progressive corporations are meeting the many needs of their mobile workers …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds