Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Native Win32 DLL on Hololens -> "Unable to activate Windows Store app"

I am trying to use Win32 library (single DLL) in Hololens app and after starting Debug and watching the app to deploy I am getting "Unable to activate Windows Store app" message, then "The program has exited with code -1073740671 (0xc0000481)."
Everything is Debug 32-bit, VS2015 Update 3 with 10.0.14393 SDK and the same Hololens OS version.
I included the DLL in the project and changed the Content to true in the Properties. I checked dependencies in depends.exe and added vc14 runtime (msvcp140d.dll and vcruntime140d.dll), ucrtbased.dll gets to the layout automatically.
When I create a regular UWP application, the steps above make it working.
What else am I missing?

Tagged:

Answers

  • Also neither App Crash Dump, nor Logging produce any clue on the device.

  • I was getting the same error. Make sure that in your Package.appxmanifest file
    you have TargetDeviceFamily Name="Windows.Holographic" MinVersion="10.0.10240.0" MaxVersionTested="10.0.16299.0"
    and not
    TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10240.0" MaxVersionTested="10.0.16299.0"

Sign In or Register to comment.