Integrate unity in c++ program

Hi!
I´m new and i don´t know if this is the site of my question.
I´m working in a project and i need to integrate a unity project in mi C++ program (with Visual) i want to know if it´s possible.
Thanks to everybody :slight_smile:

In Unity 4.5.5p1 was added support for embedding the windows standalone player into another application

  • Windows Standalone: You can now embed windows standalone player into another application, simply pass -parentHWND and windows standalone application’s window will be created with specified parent. See Command line arguments documentation for more information.

-parentHWND (Windows only) Embeds Windows Standalone application into another application, you have to pass parent application’s window handle to Windows Standalone application. See this example EmbeddedWindow.zip for more information.

Any best practices for communication between the parent and the child application?
Can think of a number of cumbersome ways, but does anyone have a good suggestion for an easy way (that maybe doesn’t require a native plugin)?

I suppose you could cobble something together with WCF, but probably easiest to just open a socket and communicate back and forth.

Yep, I guess. Thanks!

Thanks!
I think this might be useful for me :slight_smile: