LoadLibraryExW() fails, last error is ERROR_MOD_NOT_FOUND, but no missing dependencies?

后端 未结 3 2031
名媛妹妹
名媛妹妹 2020-12-20 20:28

A customer is using our dll which is creating a child process which uses an open source library, which ultimately fails because of a call to LoadLibraryExW(), the last error

3条回答
  •  青春惊慌失措
    2020-12-20 21:17

    Use the Profiling option of the Dependency Walker on your application. Possibly the library is trying to resolve some APIs dynamically (using LoadLibrary/GetProcAddress) and this won't show up in the static dependencies.

提交回复
热议问题