How do I rename a DLL but still allow the EXE to find it?

后端 未结 6 1942
难免孤独
难免孤独 2020-12-24 14:14

We have a DLL which is produced in house, and for which we have the associated static LIB of stubs.

We also have an EXE which uses this DLL using the simple method o

6条回答
  •  旧巷少年郎
    2020-12-24 14:33

    I created a little python script to rename native dlls properly. It generates a new lib file for you to use in project linking in MSVC.

    https://github.com/cmberryau/rename_dll/blob/master/rename_dll.py.

    You'll need to use the developer command prompt for it to work of course.

提交回复
热议问题