Search path for a DLL referenced by a plug-in DLL
问题 I'm writing a Windows application plug-in (as a DLL) in native C++. Let's call it myplugin.dll . My plug-in references another DLL which we'll call other.dll . My plug-in is installed in the myplugin subdirectory of the application's plugins directory: application.exe plugins\ myplugin\ myplugin.dll myplugin.dll links implicitly to other.dll . I cannot delay-load other.dll because it exposes classes with virtual methods, and virtual method tables being considered as data, they cannot be