How-to Render managed (.NET) form using native DirectX

24 בנובמבר 2008

2 תגובות

My blog has moved. You can view this post at the following address:

הוסף תגובה
facebook linkedin twitter email

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *

2 תגובות

  1. Petre1 בפברואר 2009 ב 3:10


    I tried using your code in an mdi application, but It doesn't work when I was trying to render in a child window. Can you please give me a few pointers? (Google wasn't kind enough to help 🙂


  2. dhelper3 בפברואר 2009 ב 11:56

    Unfortunately I never tried using this method with a MDI application.

    I guess the problem is that the child components have the same Window Id as the parent.

    I guess you need to test using MFC MDI control with child forms to see what arguments you need to specify (and how) when creating the DX Device object.

    Afterward it's just a matter of passing those arguments from .NET.