Failed to load DLL dfh32.dll - Windows Server 2019

Avatar
  • updated

Trying to run DF4.0 on Windows Server 2019 and getting this:


---------------------------
Error
---------------------------
Failed to load DLL dfh32.dll
---------------------------
OK
---------------------------

The older version 3.8 worked perfectly on Windows Server 2019.



Avatar
devops

I solved the problem.

It seems that DirectFolders requires the x86 VC++ redist package, and I only had the x64 package installed

You can get the x86 downloads from Microsoft:

https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-160

Direct x86 link: https://aka.ms/vs/16/release/vc_redist.x86.exe

I also installed Visual Studio 2013 (VC++ 12.0) x64 and x84 while I was at it, but I don't know if this is required. They are farther down the page if you need them.