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.
Deploying app with 2008 C++ runtime
Hi everyone,
I am trying to deploy to the Hololens/Emulator a Visual C++ 2015 Holographic project which references a library that was built using the Visual C++ 2008 runtime. The deploy goes fine but then the App crashes with an error stating 'A dependent dll was not found'. Since I have packaged the required DLLs with the deploy I suspect the problem might have to do with the older version of the referenced DLL runtime. Could anyone please help me determine if this is indeed the problem? P.S. The same library works fine when I use it in the RemoteHost example to stream content to the Hololens from my PC. Thanks, Nas
Best Answers
-
Remoting Host sample is completely different from trying to run a HoloLens app on the device or VM.
Remoting basically just pushes your draw calls to the device, and returns the Spatial Mapping, audio, and position from the device to your remoting app. It does not load any dll's on the device at all, except that of the Remoting libraries. Your application actually runs on your desktop machine, the only thing that runs on the device are the draw calls basically, and the network stack to send the data back and forth.
This is not the same thing as running a complete application on the device/VM. Thus you need the appropriate libraries: Directx 11, WinRT dll's. It needs to be built using the correct version: VS.Net 2015(17) and targeting the correct UWP version you want as a min and max version.
Dwight Goins
CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
http://dgoins.wordpress.com5 -
nasradev ✭
Yes, we ended up rebuilding the libraries for UWP and then including them with the solution. That did the trick.
Regards, Nas0
Answers
Remoting Host sample is completely different from trying to run a HoloLens app on the device or VM.
Remoting basically just pushes your draw calls to the device, and returns the Spatial Mapping, audio, and position from the device to your remoting app. It does not load any dll's on the device at all, except that of the Remoting libraries. Your application actually runs on your desktop machine, the only thing that runs on the device are the draw calls basically, and the network stack to send the data back and forth.
This is not the same thing as running a complete application on the device/VM. Thus you need the appropriate libraries: Directx 11, WinRT dll's. It needs to be built using the correct version: VS.Net 2015(17) and targeting the correct UWP version you want as a min and max version.
Dwight Goins
CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
http://dgoins.wordpress.com
Yes, we ended up rebuilding the libraries for UWP and then including them with the solution. That did the trick.
Regards, Nas