I have a project that generates a dynamic library "my_library". It depends on an other dynamic library : foo.dll (the library itself) and foo.lib (for compilation). I would like to rename foo into foo2 (you guessed right : it's just an example :) ).
I know i can rename foo.lib and foo.dll into foo2.lib and foo2.dll and simply recompile my project (after having updated the dependency inside it).
What i'd rather do would be to use some trick (tool ?) to be able to change my_library.dll into a somehow modified version that works the same but looks for foo2.dll in place of foo.dll.
I haven't been able to find anything on this matter so far. Is the way i know the only one that works ?