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.

Developing C++ Mixed Reality toolkit sharing application

I am looking to create a desktop application in C++ that can join a mixed reality sharing session and receive network messages. The documentation I have seen implies that C++ application development is supported.

I have previously created an application with the C# API, which seemed quite straight forward. I downloaded the github MixedRealityToolkit repository and then built it using "Sharing\BuildAll.bat"

Once this completed the directory "Sharing\SDK\Client\CSharp\" includes the C# source that can be used for application development. This includes lots of useful classes like the SessionManager which make it easy to connect to a sharing server and join a specific session.

The directory "Sharing\SDK\Client\SideCar\" appears to contain a C++ based API, but this appears to have a lot less in it than the C# API. There is no SessionManager for example.

The directories "Sharing\Src\Source\Common" and "Sharing\Src\Source\Client" seem to contain a lot more useful C++ classes than the copied into the SDK directory. Given that these files have not been extracted into the SDK directory I am unclear if I should be trying to use them, or which bits I should/shouldn't depend on.

Can anyone give any advice? Any documentation or examples to look at would be really helpful, thanks.

Sign In or Register to comment.