How can I make a separate folder for my application's DLLs?

后端 未结 3 1265
独厮守ぢ
独厮守ぢ 2021-01-21 18:44

I have successfully divided a large MFC project into a couple of smaller DLL projects. Now I want to have a separate folder called \"DLL\" in my application\'s folder, where all

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-21 19:10

    DLL redirection is a fairly new feature (Windows 2000 IIRC). Name your DLL directory .exe.local, and Windows will check it first for anything loaded via LoadLibrary(Ex). This includes delay-loaded DLLs.

提交回复
热议问题