Native DLLs
- Last UpdatedAug 18, 2026
- 1 minute read
Native dlls are loaded using loading rules. These are:
-
The directory from which the importing component loaded.
-
The (application's) current directory (where it’s run from)
-
The Windows directory (default: C:\Windows) (we don’t install anything here)
-
The directories that are listed in the PATH environment variable
Therefore normally the %PATH% is used to locate native dlls. This is normally set in evars.bat located in the installation directory. Having different versions of AVEVA_DESIGN_EXE in the %PATH% may cause System.IO.FileLoad exceptions where components are loaded from different directories.
These rules apply to pdms.dll and all dependencies.