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: http://blog.drorhelper.com/2008/11/how-to-render-managed-net-form-using.html

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

כתיבת תגובה

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

2 תגובות

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

    Hi,

    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 :)

    Thanke,
    Petre

    להגיב
  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.

    להגיב