Dll Not Found on one PC

I have a customer where we have installed our Cryptlex-enabled application of 5 separate PCs. All of these PCs are running Windows 10 with all updates applied. On 4 of the machines, everything is working fine. But on the 5th PC, when we try to start the application, it exits immediately with no error indication. I have created a simplified version of the application which is just a form with a button to verify the license status. Using a debug version of the application, the app throws an exception. The exception information is included at the bottom of this message.

Using DependencyWalker, I see that a number of dlls that LexActivator32 depends on cannot be found:

I am not sure what is missing on this PC. Have you seen this type of issue before?

<< Start of exception information>>
Information on how to invoke JIT (Just-In-Time) debugging instead of this window
is given at the bottom of the message.

************** Exception text **************
System.DllNotFoundException: Unable to load DLL ‘LexActivator32’: Unable to find the specified module. (Exception from HRESULT: 0x8007007E).
in Cryptlex.LexActivatorNative.SetProductData_x86(String productData).
in Cryptlex.LexActivator.SetProductData(String productData).
in ColorTrackLicense.SecurityChecks…ctor() in C:\MyProjects\ColorConsulting\ColorTrack\12.22Latest\CCS\CqsOffline\ColorTrackLicense\SecurityChecks.cs:line 78
in ColorTrackLicense.SecurityChecks.get_Instance() in C:\MyProjects\ColorConsulting\ColorTrack\12.22Latest\CCS\CqsOffline\ColorTrackLicense\SecurityChecks.cs:line 64
in LicenseChecker.Form1.button1_Click(Object sender, EventArgs e) in C:\MyProjects\ColorConsulting\ColorTrack\12.22Latest\CCS\LicenseChecker\Form1.cs:line 23
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ButtonBase.WndProc(Message& m)
in System.Windows.Forms.Button.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Assembly loaded **************
Assembly version:
Win32 version: 4.8.4614.0 built by: NET48REL1LAST_B
Code base: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Assembly version:
Win32 version:
Code base: file:///C:/temp/LicenseTest/LicenseChecker.exe

Assembly version:
Win32 version: 4.8.4550.0 built by: NET48REL1LAST_C
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0__b77a5c561934e089/System.Windows.Forms.dll

Assembly version:
Win32 version: 4.8.4605.0 built by: NET48REL1LAST_C
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0__b77a5c561934e089/System.dll

Assembly version:
Win32 version: 4.8.4390.0 built by: NET48REL1LAST_C
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Assembly version:
Win32 version: 4.8.4190.0 built by: NET48REL1LAST_B
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0__b03f5f7f11d50a3a/System.Configuration.dll

Assembly version:
Win32 version: 4.8.4605.0 built by: NET48REL1LAST_C
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0__b77a5c561934e089/System.Core.dll

Assembly version:
Win32 version: 4.8.4084.0 built by: NET48REL1
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0__b77a5c561934e089/System.Xml.dll

Assembly version:
Win32 version:
Code base: file:///C:/temp/LicenseTest/ColorTrackLicense.DLL

Assembly version:
Win32 version:
Code base: file:///C:/temp/LicenseTest/Cryptlex.LexActivator.DLL

Assembly version:
Win32 version: 4.8.4084.0 built by: NET48REL1
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_en_b77a5c561934e089/mscorlib.resources.dll

Assembly version:
Win32 version: 4.8.4084.0 built by: NET48REL1
Code base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_en_b77a5c561934e089/System.Windows.Forms.resources.dll

************** Debug JIT **************
To enable JIT debugging, you need to set the value
jitDebugging in the system.windows.forms section of the configuration file
of the application or computer (machine.config).

It seems your app is loading the 32-bit version of LexActivator. If the machine is 64-bit, then the chances that the 32-bit version of VC2015 or above runtime being installed by default are low.

Runtime download link: https://www.microsoft.com/en-in/download/details.aspx?id=48145

Thank you very much Adnan. We actually include a 32-bit VC Redistributable installer with our application due to some other dependencies, but it is an older version. I was unaware that Lexactivator requires 2015 or later.

You should consider updating the documentation, which claims that there are no external dependencies. This is true of the .Net dll, but not for the C++ dlls.

Thanks again,


This dependency is already mention in the docs: