Re: Renaming DLLs?
- From: "Rich Walsh" <spamyourself@xxxxxxxxx>
- Date: Tue, 24 Jul 2007 19:19:16 GMT
On Tue, 24 Jul 2007 16:35:25 UTC, Jim Moe <jmm-list.AXSPAMGN@xxxxxxxxxxxxxx> wrote:
Dave Yeo wrote:
Is it possible to rename DLLs under OS/2? Perhaps by creating a newNo. The application still looks for the original filename.
import lib and relinking an application?
That doesn't really answer the O.P.'s question. Yes, you can rename
a dll, though obviously, the app that uses it has to know about the
new name.
Beside renaming the file, you also have to change the module name
which is embedded in the file. In nearly all cases, this is simply
the filename minus extension. The new name may not be any longer
than the name it replaces. If it's shorter, you have to modify the
size byte which preceeds the name. If you're just experimenting,
you can use a hex editor or the dllrname util that comes with VACPP.
Another option is this REXX script:
http://e-vertise.com/misc/renamemodule.zip
This is taken from a larger script I use with some apps that lets
users create NLS resource dlls on their own. renamemodule.cmd
just makes the module name match the file name. The larger script
makes a copy of a generically-named dll with a language-appropriate
name, renames the module to match, then runs RC to bind NLS resources
to it.
--
== == almost usable email address: rws AT e-vertise.com == ==
___________________________________________________________________
|
| Remote Workplace Server v0.80
Rich Walsh | interact with the WPS from any program
Ft Myers, FL | http://e-vertise.com/rws/rws080.zip
___________________________________________________________________
.
- References:
- Renaming DLLs?
- From: Dave Yeo
- Re: Renaming DLLs?
- From: Jim Moe
- Renaming DLLs?
- Prev by Date: Re: Renaming DLLs?
- Next by Date: subject ea 40 Char limit
- Previous by thread: Re: Renaming DLLs?
- Next by thread: Re: Renaming DLLs?
- Index(es):
Relevant Pages
|
Loading