   DirectX+MFC
  Hello Alli need a DirectX tutorial using MFC.   
  Why? MFC is deprecated as far as I'm aware. You certainly shouldn't be creating any new applications with it.And what part of DirectX? DirectSound? DirectInput? Direct3D? DirectDraw?Assuming D3D, I believe you just need to pass the HWND of a control to render to to D3D.   ;Quote:Original post by Evil SteveWhy? MFC is deprecated as far as I'm aware. You certainly shouldn't be creating any new applications with it.I dont think this is correct. MFC is still supported and recent Microsoft statements seem to bring back the old glory of MFC.http://en.wikipedia.org/wiki/Microsoft_Foundation_Class_Library   ;  I googled for "mfc directx tutorial" and got 337,000 hits. You too can google!Also, the project EffectEdit in the SDK is MFC-based. That's a rather convoluted application but it provides an example of just about anything you want to do with MFC and DirectX.;Quote:Original post by Evil SteveWhy? MFC is deprecated as far as I'm aware. You certainly shouldn't be creating any new applications with it.It's most definitely not deprecated, MFC 9.0 just came out with VS 2008.  However I wholeheartedly agree with the second sentence.  [smile];Quote:Original post by MJPIt's most definitely not deprecated, MFC 9.0 just came out with VS 2008.  However I wholeheartedly agree with the second sentence.  [smile]D'oh. I seem to be getting all sorts of things wrong lately [smile]Ok, ignore what I said. I'm sure there was some reason not to use it though...   ;Quote:Original post by Evil SteveD'oh. I seem to be getting all sorts of things wrong lately [smile]Don't worry about it, I'm sure you'll only get rated down 100 points or so.  :PQuote:Original post by Evil SteveOk, ignore what I said. I'm sure there was some reason not to use it though...Oh there's plenty of good reasons not to use it.  For any sort of GUI app there's nothing you can do in MFC that you couldn't do much quicker with Windows Forms (except for the Office-style ribbons, but come on...).  And it's pretty much overkill for any game that just  needs a window.  If you really want a class-based  window framework WTL is a much leaner (and meaner) option.