# C++ calls on App simulator

**URL:** <https://forum.magicleap.cloud/t/c-calls-on-app-simulator/1562>\
**Category:** App Simulator\
**Created:** [March 8, 2023, 3:24pm UTC](https://forum.magicleap.cloud/t/c-calls-on-app-simulator/1562 "2023-03-08T15:24:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonyM](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@anthonyM](https://forum.magicleap.cloud/u/anthonyM)\
**Post date:** [March 8, 2023, 3:24pm UTC](https://forum.magicleap.cloud/t/c-calls-on-app-simulator/1562/1 "2023-03-08T15:24:47Z")

</div>

Hello,  
I'm currently waiting to receive my Magic Leap 2 and experimenting with the application simulator.  
I want to reach the magic Leap 2 device from the unreal engine editor, in a way similar to the Unity package.

I am currently able to connect to the simulator using the mlsdk ml\_api directly from c++ using the windows' libraries, and it seems to work fine in the application simulator in simulator mode.  
Will this also work in hybrid or device mode? Or do I need to go through an android native app?  
If so, what is the com.magicleap.zi\_agent.apk for?

Thank you.

---

<div class="post-metadata">

**Author:** ![kdowney](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kdowney/32/481_2.png) [@kdowney](https://forum.magicleap.cloud/u/kdowney)\
**Post date:** [March 8, 2023, 6:48pm UTC](https://forum.magicleap.cloud/t/c-calls-on-app-simulator/1562/2 "2023-03-08T18:48:43Z")

</div>

Hello @anthonyM thank you for your post. We will be focusing on OpenXR/Vulkan going forward and hope to have formal support for Unreal later this year. The hybrid/device mode will work then. Please stay tuned for formal Unreal Engine support.
