Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualBornToCode

Posted 29 January 2013 - 06:34 PM

You do not need to create any binding for DirectX if you are doing everything in C++/Cli. To Render to an Form all you need to do is convert Form Handle to an HWND and pass that as your window handle. Then all your rendering will take place on the form. I did that for one of my editor and works perfectly. Do not listen to the comments that the people above are saying. I just hate when someone has no idea about something, yet they still post an answer.


#2BornToCode

Posted 29 January 2013 - 06:34 PM

You do not need to create any binding for DirectX if you are doing everything in C++/Cli. To Render to an Form all you need to do is convert Form Handle to an HWND and pass that as your window handle. Then all your rendering will take place on the form. I did that for one of my editor and works perfectly. Do not listen to the comments that the people above are saying. I just hate when someone has no idea about something, yet they still post an answer.


#1BornToCode

Posted 29 January 2013 - 06:32 PM

You do not need to create any binding for DirectX if you are doing everything in C++/Cli. To Render to an Form all you need to do is convert Form Handle to an HWND and pass that as your window handle. Then all your rendering will take place on the form. I did that for one of my editor and works perfectly. There is no reason to use SlimDX


PARTNERS