Activex Directx



hi !!!
I need to create a web based program which will be using DirectX 9.0.
I am going to make a control for using in the IE that it uses of DirectX 9.
I created an ATL project and then i added a ATL Control with HWND stock
property to it.
bot now my problems:

1- How should i call Direct3DCreate9 and CreateDevice functions?
2- Where should i call my Init() function for initialize Directx?
3- How could i create a loop for my Render() function?
4- How could i handle messages from ATL Control?

I am only really familiar with programming from the Empty Project that comes
with the DX9 SDK.
============================================================
= Could you tell me, how i can create an "Activex DirectX"?
=
============================================================

I have recently found within MSDN an ATL Con sample for Direct3D that
displays a spinning triangle. But it is too olde and it dosen't work with
DirectX 9.
1- atl_direct3d.exe

http://www.microsoft.com/downloads/details.aspx?FamilyID=8FA2D6FB-5017-4706-9ABD-E81962065C48&displaylang=en#QuickInfoContainer
2- atl_advanced_direct3d.exe

http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=b0bd2eb8-c943-4fae-82a5-4ee0e161f4ef&displaylang=en

Do you have any other sample for creating an ATL control using D3D?

thanks
.



Relevant Pages

  • Re: Fundmental DirectX Clarification
    ... I just got the idea of creating a control for my directx widget. ... My backbuffer is sized to whatever the desktop size is to cover ... for 3D rendering such as your case you would ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: DirectDraw and custom UserControls...?
    ... News and Resources for Managed DirectX ... > references to my own custom Sprite class, so as the player updates, he ... > draws himself to the backbuffer at his x,y position. ... > location and size of the control to match my player ...
    (microsoft.public.win32.programmer.directx.managed)
  • Activex Directx
    ... I need to create web based program which will be using DirectX 9.0. ... I created an ATL project and then i added a ATL Control with HWND ... I have recently found within MSDN an ATL Con sample for Direct3D that ...
    (microsoft.public.win32.programmer.directx.video)
  • Activex Directx
    ... I need to create web based program which will be using DirectX 9.0. ... I created an ATL project and then i added a ATL Control with HWND ... I have recently found within MSDN an ATL Con sample for Direct3D that ...
    (microsoft.public.vc.atl)
  • Re: RPG
    ... I am currently planning to write a little role playing game using DirectX, ... In a common RPG, you see the map from above, flying over the map as you ... with the mouse moving near the edges of the screen, and to control the ...
    (comp.games.development.programming.misc)

Loading