ActiveX initialization: AxHost.State object
问题 I'm trying to embed a Unity3D-ActiveX control into a WPF-Form by using a WinFormsHost-Control. Actually it works well when setting the path in the property window of VS, but when setting it in my code file it does not load anything. This is a known issue of the control but i thought i can simply copy the creation code of the forms-designer and initialize it manually. When looking at the code of the initialization i noticed that there is no src property in the code, but the property is used in