How to include syswow64 dlls to HoloLens

%3CLINGO-SUB%20id%3D%22lingo-sub-2821238%22%20slang%3D%22en-US%22%3EHow%20to%20include%20syswow64%20dlls%20to%20HoloLens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2821238%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3CBR%20%2F%3EI%20am%20trying%20to%20connect%20a%20Tello%20drone%20to%20HoloLens%20and%20display%20the%20camera%20feed%20from%20the%20drone%20directly%20to%20HoloLens.%20The%20problem%20that%20I%20have%20is%20that%20when%20I%20try%20to%20launch%20the%20project%20to%20HoloLens%20I%20get%20the%20following%20errors%20regarding%20the%20loading%20of%20the%20dlls%3A%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ELoading%20advapi32.dll%3CBR%20%2F%3EPlugins%3A%20Failed%20to%20load%20'advapi32'%20with%20error%20'Operation%20has%20failed%20with%20error%200x7f%3A%20The%20specified%20procedure%20could%20not%20be%20found.%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ELoading%20TelloVideoDecoder.dll%3CBR%20%2F%3EPlugins%3A%20Failed%20to%20load%20'TelloVideoDecoder'%20because%20one%20or%20more%20of%20its%20dependencies%20could%20not%20be%20loaded.%3C%2FP%3E%3CP%3EThe%20TelloVideoDecoder.dll%20has%20the%20following%20dependencies%3A%3C%2FP%3E%3CUL%3E%3CLI%3ESysWOW64%5COPENGL32.dll%3C%2FLI%3E%3CLI%3ESysWOW64%5CWS2_32.dll%3C%2FLI%3E%3CLI%3ESysWOW64%5Ckernel32.dll%3C%2FLI%3E%3CLI%3ESysWOW64%5CMSVCP140.dll%3C%2FLI%3E%3CLI%3ESysWOW64%5CVCRUNTIME140.dll%3C%2FLI%3E%3CLI%3ESysWOW64%5Cucrtbase.dll%3C%2FLI%3E%3C%2FUL%3E%3CP%3EDo%20you%20know%20if%20there%20is%20a%20way%20to%20include%20these%20windows%20dll%20in%20my%20project%3F%20Or%20is%20there%20any%20way%20to%20have%20this%20dlls%20installed%20on%20holoLens%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2821238%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EError%200x7f%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHelp%20Request%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHelp%20with%20HoloLens%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHoloLens%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMixed%20Reality%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2849144%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20include%20syswow64%20dlls%20to%20HoloLens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2849144%22%20slang%3D%22en-US%22%3EIf%20you%20are%20deploying%20to%20HoloLens%202%20you%20will%20need%20ARM%20binaries.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello, 
I am trying to connect a Tello drone to HoloLens and display the camera feed from the drone directly to HoloLens. The problem that I have is that when I try to launch the project to HoloLens I get the following errors regarding the loading of the dlls:

Loading advapi32.dll
Plugins: Failed to load 'advapi32' with error 'Operation has failed with error 0x7f: The specified procedure could not be found.

Loading TelloVideoDecoder.dll
Plugins: Failed to load 'TelloVideoDecoder' because one or more of its dependencies could not be loaded.

The TelloVideoDecoder.dll has the following dependencies:

  • SysWOW64\OPENGL32.dll
  • SysWOW64\WS2_32.dll
  • SysWOW64\kernel32.dll
  • SysWOW64\MSVCP140.dll
  • SysWOW64\VCRUNTIME140.dll
  • SysWOW64\ucrtbase.dll

Do you know if there is a way to include these windows dll in my project? Or is there any way to have this dlls installed on holoLens?

3 Replies
If you are deploying to HoloLens 2 you will need ARM binaries.
I'm using HoloLens 1. Do you know if something similar exists for the HoloLens 1?

@Chrisstyll I see, so you're loading (non-UWP) win32 dlls onto HoloLens 1. To check which dependency isn't found you could attach visual studio debugger to your app running on the device and I think you get a message in the output window when a dll is being loaded so maybe that would help. There is a possibility that you need to call LoadPackagedLibrary function (winbase.h) - Win32 apps | Microsoft Docs to load your dll but check this doc for details How to: Use existing C++ code in a Universal Windows Platform app | Microsoft Docs.
Are the vc libs installed? I guess they would be if you are running from VS but if you are creating an appx and installing via the developer portal make sure to add the framework dependencies that are produced alongside your appx.  

www.000webhost.com