- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
With reference to my previous post, I have a multithreaded 32 bit DLL which use the MKL library. I must therefore provide the libiomp5md.dll along with my DLL for the users. This works fine when the users copy the libiomp5md.dll into "C:\Windows\SysWOW64" folder in Windows 10. However, I have a user that runs my DLL on an old computer (Windows XP from 2002) which cannot be updated to newer version of Windows for various reasons. The Windows XP operative system is 32 bit, so we have tried to copy the libiomp5md.dll into the "C:\Windows\System32" but it doesn't work. Any suggestions?
Kind regards,
Carl
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Copy it to any folder in PATH
.OR. add the folder you place it into at the end of PATH
.OR. copy it to the folder you place your application into.
The DLL's are loaded using the standard folder search path for .DLL's
If a path for the DLL is specified, Windows searches for the DLL in the specified directory.
If the DLL is listed in the Windows registry in the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\KnownDLLs key, Windows searches for the DLL in the following locations in order:
- The %SystemRoot%\SYSTEM32 directory.
- The .exe file directory.
- The current directory.
- The %SystemRoot% directory.
- The directories in your Path.
If no path is specified for the DLL and the DLL is not listed in the Windows registry, Windows searches for the DLL in the following locations in order:
- The .exe file directory.
- The current directory.
- The %SystemRoot%\SYSTEM32 directory.
- The %SystemRoot% directory.
- The directories in the Path.
** 64-bit Winbdows: SYSTEM32 contains 64-bit files, SysWOW64 contains the 32-bit files
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jim,
The program fails to find the dll even though we try all the steps above. Not sure what to do.
\Carl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
libiomp5md.dll (you are using the 32-bit version of that, right?) depends on VCRUNTIME140.dll (part of Visual C++), which is unlikely to be installed on the XP system. Try installing it from Download Microsoft Visual C++ 2015 Redistributable Update 3 RC from Official Microsoft Download Center as it does seem it supports XP.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page