PDA

View Full Version : unresolvable DLL dependencies with Win8.1/64Bit



UweAndersen
July 21, 2015, 17:37:01
Hello,

I built a small console application that is taking a snapshot image.
In the MS Visual Studio environment that app is doing fine.
But if I make a DLL out of it I got two "file not found" error messages from the dependancy walker:
API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL

I need to build a dll because I have to interface to Java.
And it looks like that these errors prevent the DLL from being loaded.

Anyone who can help me out?

Best regards,
Uwe

UweAndersen
July 22, 2015, 08:43:25
It is the "TIS_UDSHL11x.dll" which is responsible for that problem.
You can easily check by opening that dll with the Dependency Walker.

Any ideas?

BR,
Uwe

UweAndersen
July 22, 2015, 08:43:50
It is the "TIS_UDSHL11x.dll" which is responsible for that problem.
You can easily check by opening that dll with the Dependency Walker.

Any ideas?

BR,
Uwe

UweAndersen
July 22, 2015, 08:59:38
Looks like that the problem seems to be somewhere else.
Most probably the Java-DLL-Interface module seems to be the cause for that problem because I can load the "TIS_UDSHL11d_x64.dll" dll.
The missing dlls are not the problem then.
I have to investigate further...

Stefan Geissler
July 22, 2015, 09:13:58
Hi Uwe

The DLLS

API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL

belong to Windows and are usually located in the c:\windows\system32 directory. At least, there they are in my Windows 7 64 bit. If these DLLs are missing on your system, I would consider, your system being incomplete.

Going deeper into the issue by asking Google about "API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL" the first search result is:
http://answers.microsoft.com/en-us/windows/forum/windows8_1-performance/32-bit-application-fails-to-start-after-81-upgrade/b825723e-e2a2-4c8f-bd1f-10446a5d7059?auth=1
:


Hello!
I had problems with this API dll's missing with several 64 bit aplications
such as Magix video professional editor 2015 and Magix Samplitude 2015 along with
some programs from Native.
The solution for me was;
Visual C++ Redistributable Packages for Visual Studio 2013
Download link:
http://www.microsoft.com/en-us/download/details.aspx?id=40784
I reinstalled (repaired) these 2 files and all programs worked
vcredist_x64.exe
vcredist_x86-exe
Hopefully You experience the same!


I hope, this helps solving your issue.

UweAndersen
July 22, 2015, 12:19:57
Hello Stefan,

thank you for your post.

The missing DLLs are not part of the redistributable packages. MS decided to remove them from Win8.1Pro.
So even after (re-)installing the mentioned packages the dlls are still missing.

Nevertheless I was able to fix that problem in the meantime.
The problem lies in Javas DLL-Interface modul JNA.
Adding the DLL directory to the Windows search path fixed the problem.
Normally JNA searches for library dependencies in the same path prior to using the system path.
At the moment I don't know why this isn't the case here but I will find out :)

But this is a problem with no relation to the Imaging Source SDK.

BR,
Uwe