   Loading child form with DirectX application?
  I've added a CLR child form into a visual C++ project which already opens up a windowed directx application. How can I load the form to run side by side with this window? Whats the code for calling a child form?   
  So you just want two forms to exist at the same time? Nothing to do with actually rendering to both windows at the same time?Provided I've interpretted your question correctly this doesn't belong in this forum. Moved to 'General Programming'. The first result in a quick search might be worth reading - there's a section on form->Show(), form->ShowDialog() and Application::Run() that seem to cover what you're after. I'm sure you can experiment.If this is about rendering in two different windows you might want to research "multiple swap chains" and then feel free to post back in the DirectX forum.hthJack   ;  Actually I'm a little confused because after I added the CLR forms header 'form1.h' to the bulk of the project I got errors about the CLR namespaces not being valid, I got one for pretty much all the CLR related namespaces:using namespace System;using namespace System::ComponentModel;using namespace System::Collections;using namespace System::Windows::Forms;using namespace System::Data;using namespace System::Drawing;and syntax related errors because of the CLR related code (such as ref class).   ;  you have to setup the references, you can do it using the project settings, or you can do it manually:#using <system.windows.forms.dll>for example.EDIT: as for the syntax errors, do you in your project settings enable the use of CLR code?go to project -> <project name> properties -> configuration properties -> common language runtime support   