Load a DLL from another directory at program start

后端 未结 6 1024
予麋鹿
予麋鹿 2021-02-03 11:43

My basic issue is this: my program (MyProgram.exe) has a dependency on a DLL from another program (OtherProgram), and I\'m trying to avoid repackaging a new DLL every time Other

6条回答
  •  失恋的感觉
    2021-02-03 12:11

    You could use LoadLibrary, but you would need a way to guarantee the DLL's location. This Wikipedia article provides good example on how to use the DLL after it has been loaded.

提交回复
热议问题