Home > other >  Rename the link in .dll (relink, Windows)
Rename the link in .dll (relink, Windows)

Time:12-10

On Windows 10 I have a library myLib.dll which has a link to python37.dll.

I need to change the link name python37.dll to python39.dll.

Is it possible to do without rebuilding? If yes, please explain.

CodePudding user response:

Yes, you can do this with a hex-editor. Change the string, just make sure it has the same length as the old string. Verify your change with Dependency Walker.

  • Related