We are publishing a Windows desktop application (built on Visual C ++ 2013 with the v120_xp platform toolkit) that works fine in Windows 10, but we started receiving reports from users who installed the Threshold 2 update, which our application now doesnβt start, showing the following error message:
The application could not start correctly (0xc0000142). Click "OK" to close the application.
The error code is STATUS_DLL_INIT_FAILED, so we are apparently looking for a DLL that is unable to initialize.
We tried to fix this problem by monitoring the launch of the application in the debugger and using Process Monitor to find out which DLLs are loading. The last loaded DLL (on a computer with Threshold 2 installed) is "davhlpr.dll". When we look at how our application runs on Windows 10 without Threshold 2, it starts without loading, generally speaking, this DLL. This suggests that the problem may be related to davhlpr.dll, but our code is clearly independent of this DLL, and I have no idea what it is.
Has anyone else seen something like this?
Does anyone have any ideas on how we can fix this problem? Having tried the debugger and Process Monitor, I have no ideas.
source share