Use the DLL Rename (dllrname) Utility
Use the dllrname utility to do the following:
- Change the name of one or more DLLs. For each DLL,
dllrname changes the name of the .dll file and
the internal name of the DLL that is recorded inside the
file. The tool also updates the name in external
references to the DLL from other modules.
- Get a report that lists all the DLLs used by a module.
To use the dllrname utility, follow these
steps:
- Build the DLLs for your application. If you are linking
dynamically to the VisualAge C++ run-time library, build
with option link(linkWithSharedLib).
- Build the executable file. If the executable uses DLLs
that are not built with the same configuration file,
supply the import library for each DLL as a source for
the build.
- Create a working directory so that you do not overwrite
your original files.
- Copy the DLL that you are renaming and all modules that
use it, including the executable file, into the current
directory. If you are renaming a DLL supplied with
VisualAge C++, copy it to the working directory.
- Open a VisualAge C++ command line window. Make sure your
working directory is the current directory.
- Issue the dllrname
command.
To rename DLLs, be sure to list the DLLs
to be renamed and all modules that use them. Also, supply
new names for the DLLs and make sure they the same number
of characters as the old name.
If you want only to list the DLLs used by your
program, and not to rename any of them, specify the /N
option.
Example of Using dllrname

Run-Time
Environments
Repackaging
VisualAge C++ DLLs for Distribution
Changing the Name of
a DLL

Build Dynamic Link Libraries
Choose Your Run-Time Library

Run-Time Library File
Names