Win32Host C++ Win32 window hosted inside C# WPF window as a child Before you run the project, change the WindowDll dll path in the WindowAPI.cs file to @"{project solution path}\Win32Host\x64\Debug\WindowDll.dll"