DirectX window in web browser

  • Thread starter Thread starter JT
  • Start date Start date
J

JT

Hi,

Is there an example available online of a C# direct3d application being
loaded inside a web page? I just read up a bit about web forms, and that
doesn't seem like the way to do it...

Thanks
JT
 
I don't see any relations between C# and Direct3D on WebForm.
But if you add following code to you HTML page this page will host DirectX
control.

<OBJECT classid=CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D id=DAViewer
style="position:absolute;top:0;left:0;HEIGHT:100%;
WIDTH:100%;background-color:#eeeeff"></OBJECT>
 
Thanks for your reply Maxim.

"Hosting a DirectX control" is exactly what I want... to avoid! It's flaky,
prone to security problems, hard to get dynamic content, etc.

I was hoping that with C# and web forms there was a new way to do this -
closer to what can be done with java and applets. But after reading a bit
more about managed directX, it seems that people still basically create a
control and host it up with an "object" tag... how disappointing.

JT
 
Back
Top