   SpriteFlags in Managed D3D (C#)
  I'm attempting to run code from the book Managed DirectX 9  and seem to have run into a problem on the chapter where the author discussed using sprites.The errors are:E:\Prog\Visual Studio Projects\BRN\C# Projects\DXTest1\Form1.cs(104): The type or namespace name 'SpriteFlags' could not be found (are you missing a using directive or an assembly reference?)E:\Prog\Visual Studio Projects\BRN\C# Projects\DXTest1\Form1.cs(204): No overload for method 'Draw' takes '5' arguments   I can probably figure out the Draw function given the MSDN, but for the life of me I can't seem to see my error. MSDN says:NamespaceMicrosoft.DirectX.Direct3DAssemblyMicrosoft.DirectX.Direct3DX (Microsoft.DirectX.Direct3DX.dll)Which I've included. Has anyone else run into this or know what is wrong? I'm stumped.[edited by - woodsman on February 13, 2004 3:25:02 PM]
  The interface has changed between directx 9.00.0900 and 9.00.1126 (the last one is called the summer update). Check your assemblies (or c:\winnt\microsoft.net\managed directx\ to see which one you have. Upgrade if you use 0900.It could be the book uses the old one. In that case just look up the correct format in the helpfiles and change it. ;  I definitely have the updated version. Also, I''ve found the SpriteFlags in the msd, as provided, and it corresponds exactly, as far as I can tell, to what his code does. 