title: Open WPF application in Windows in c++ application
body: <p>I have a situation where I need to start a WPF application and have it run using a child window created by my C++ application.  So the sequence of events would be -</p>
  
  <ol>
  <li>Start C++ application</li>
  <li>C++ application creates a window that it wants WPF app to run in.</li>
  <li>Launch WPF using <a href="http://msdn.microsoft.com/en-us/library/ms682425%28VS.85%29.aspx" rel="nofollow">CreateProcess</a> function.  Included in create process would be the handle of the window that the WPF app is to use.</li>
  </ol>
  
  <p>It looks like this should be possible, but I cannot find function calls/parameters to do this.  This will be in a Windows XP and Windows 7 environment.</p>