# Embed/Integrate output from UE4 into a C++ application

**URL:** <https://forums.unrealengine.com/t/embed-integrate-output-from-ue4-into-a-c-application/436705>\
**Category:** C++\
**Tags:** Graphics, merge, unreal-engine, UE4, CPP, question\
**Created:** [October 30, 2018, 2:23pm UTC](https://forums.unrealengine.com/t/embed-integrate-output-from-ue4-into-a-c-application/436705 "2018-10-30T14:23:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [October 30, 2018, 7:29pm UTC](https://forums.unrealengine.com/t/embed-integrate-output-from-ue4-into-a-c-application/436705/2 "2018-10-30T19:29:50Z")

</div>

This can be done by so many ways, you can read what is possible in windows here:

> **[Interprocess Communications - Win32 apps](https://learn.microsoft.com/en-us/windows/win32/ipc/interprocess-communications)**
>
> The Windows operating system provides mechanisms for facilitating communications and data sharing between applications. Collectively, the activities enabled by these mechanisms are called interprocess communications (IPC).

But most straight forward and universal way is to simply use TCP/IP networking via sockets. Make a listen socket on UE4 game and connect to it to app (you can use loopback IP address 127.0.0.1 which will work even on hardware without network adapter). Then you just send data of you desire, you can use anything bytes, text whatever you like. Here tutorial on sockets on wiki, but wiki currently is bugged so code formating messed up, but you can loop it up in “View Source”

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

There also pipes mentioned in first link you can use anonymous pipes using FPlatfromProcess and CreatePipe and close with ClosePipe

> **[FGenericPlatformProcess](https://docs.unrealengine.com/5.1/en-US/API/Runtime/Core/GenericPlatform/FGenericPlatformProcess/)**
>
> Generic implementation for most platforms, these tend to be unused and unimplemented

---

_[View the full topic](https://forums.unrealengine.com/t/embed-integrate-output-from-ue4-into-a-c-application/436705)._
