using directx in windows forms application

Started by
1 comment, last by fatima 15 years, 4 months ago
I know how we can use directx with win32 applications,but is it possible to use same methods in windows forms application? i don't want to learn directx managed. my be i have to create a 3d view control then use it in managed application.but i don't know how to do this.
Advertisement
Sure. All Direct3D needs is a window handle, which you can get from a Form or Control via the Handle property. Just marshall the IntPtr to your native code and use it when you create your device.
thank you a lot.i'm going to test that.
//////////////////////
yes!it works.thanx again.

[Edited by - fatima on December 3, 2008 10:41:31 AM]

This topic is closed to new replies.

Advertisement