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



    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,

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

Top White Papers and Webcasts

  • U.S. companies are desperately trying to recruit and hire skilled software engineers and developers, but there's simply not enough quality talent to go around. In response, companies often resort to inferior solutions -- hiring substandard developers and engineers, recruiting talent on a part-time or temporary basis, poaching people from competitors, or burdening an already stressed IT staff for more of their labor. Fortunately, there's a better solution. Read this white paper to learn the business value of …

  • Lenovo recommends Windows 8 Pro. "I dropped my laptop getting out of the taxi." This probably sounds familiar to most IT professionals. If your employees are traveling, you know their devices are in for a rough go. Whether it's a trip to the conference room or a convention out of town, any time equipment leaves a user's desk it is at risk of being put into harm's way. Stay connected at all times, whether at the office or on the go, with agile, durable, and flexible devices like the Lenovo® …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date