Udostępnij za pośrednictwem


Windows Forms and Unmanaged Applications

Windows Forms applications and controls can interoperate with unmanaged applications, with some caveats. The following sections describe the scenarios and configurations that Windows Forms applications and controls support and those that they do not support.

In This Section

Topic Location
Walkthrough: Supporting COM Interop by Displaying Each Windows Form on Its Own Thread Windows Forms Programming
Walkthrough: Supporting COM Interop by Displaying Each Windows Form on Its Own Thread Windows Forms Programming
Walkthrough: Supporting COM Interop by Displaying Each Windows Form on Its Own Thread Windows Forms Programming
Walkthrough: Supporting COM Interop by Displaying Each Windows Form on Its Own Thread Windows Forms Programming

Reference

  • Form.ShowDialog
    Used to create a separate thread for a Windows Form.

  • Application.Run
    Starts a message loop for a thread.

  • Invoke
    Marshals calls from an unmanaged application to a form.