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.

Can I make a Mixed Reality app using only C++ (not C++/CX)?

I'm trying to develop a Mixed Reality application for a Windows immersive headset and would prefer to compile with /mt (and not /md). I've tried translating the Windows Holographic templates to something that only uses the C++ interfaces (ex. IHolographicSpace instead of HolographicSpace) but I'm stuck on a few key points, including initializing the holographic space since calling IHolographicSpaceStatics::CreateForCoreWindow(core_window, &holographic_space) does not seem to work, saying that it is a nonstatic member function. I'm not sure how to create an IHolographicSpaceStatics object though since it's a purely virtual class.

Anyways, has anyone else had any success with using the C++ interfaces? Is it even possible to go this route or do I have to switch to using C++/CX and compiling with /md?

Answers

Sign In or Register to comment.