Archive: Accessing an DLL from a plugin


Accessing an DLL from a plugin
I have a plugin which references another custom DLL which is not a plugin. If I understand things correctly for my plugin to access that custom DLL it would have to be in the plugin dir folder?


MSDN, LoadLibrary, dll locations to be auto-checked by system:
"The directory from which the application loaded.
The current directory.
Windows 95 and Windows 98: The Windows system directory. Use theGetSystemDirectory function to get the path of this directory.
Windows NT: The 32-bit Windows system directory. Use the GetSystemDirectory function to get the path of this directory. The name of this directory is SYSTEM32.

Windows NT: The 16-bit Windows system directory. There is no function that obtains the path of this directory, but it is searched. The name of this directory is SYSTEM.
The Windows directory. Use theGetWindowsDirectory function to get the path of this directory.
The directories that are listed in the PATH environment variable. "

Plug-in folder is OK is you set it current (SetOutPath)