Delphi LoadLibrary Failing to find DLL other directory - any good options?

后端 未结 3 1981
忘了有多久
忘了有多久 2021-01-15 09:44

Two Delphi programs need to load foo.dll, which contains some code that injects a client-auth certificate into a SOAP request. foo.dll resides in c:\\fooapp\\foo.dll and is

3条回答
  •  佛祖请我去吃肉
    2021-01-15 10:22

    Or you can simply edit the environment variable "path" and place the path to the dll in there. In this case adding ;c:\fooapp to the path should be sufficient. Since the environment changes of a parent effects a child, you can also create a loader application which adjusts the its environment variable then spawns to your application.

提交回复
热议问题