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

后端 未结 3 1971
忘了有多久
忘了有多久 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条回答
  •  萌比男神i
    2021-01-15 10:30

    The MSDN documentation for LoadLibrary tells you exactly where Windows will search for the DLLs. You either have to hard-code the path to the DLL, put it in the same folder as your app, or put it in one of those default search locations from the LoadLibrary docs.

提交回复
热议问题