   SlimDX: cannot create a device to use with D3DImage...
  Hello,I am using the code in this post: http://www.gamedev.net/community/forums/viewreply.asp?ID=3382177 to display a D3D surface into an image...I am currently under Win XP SP3 and I have this problem: each time I try to create a device, it failed on this error[bawling]: SlimDX.Direct3D9.Direct3D9Exception was unhandled  Message="D3DERR_INVALIDCALL: Invalid call (-2005530516)"  Source="SlimDX" I try to create the device with the code  given in the above link and with these parameters:HwndSource hwnd = new HwndSource(0, 0, 0, 0, 0, "test", IntPtr.Zero);    _pp = new PresentParameters();    _pp.SwapEffect = SwapEffect.Discard;    _pp.DeviceWindowHandle = hwnd.Handle;    _pp.Windowed = true;    _pp.BackBufferWidth = (int)ActualWidth;    _pp.BackBufferHeight = (int)ActualHeight;    _pp.BackBufferFormat = Format.X8R8G8B8;    _pp.Multisample = MultisampleType.None;Can someone help me ?Thx by advance....jmix 90   
  Any relevant output from the Debug Runtimes?   ;  Hello,In fact i get this output :Quote:Direct3D9: (ERROR) :Invalid iBackBuffer parameter passed to GetBackBufferDirect3D9: (ERROR) :Invalid iBackBuffer parameter passed to GetBackBuffer'ListBox3DCarousel.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.Direct3D9: (WARN) :driver set D3DDEVCAPS_TEXTURENONLOCALVIDMEM w/o DDCAPS2_NONLOCALVIDMEM:turning off D3DDEVCAPS_TEXTURENONLOCALVIDMEMDirect3D9: (ERROR) :Device cannot perform hardware processing. ValidateCreateDevice failed;  Do you actually have a DX9 compatible graphics card installed with the correct drivers, and are you running locally (I.e. not via remote desktop or similar)? That error says more or less that your card can't handle D3D9.EDIT: In case it's referring to hardware vertex processing, try using CreateFlags.SoftwareVertexProcessing instead of CreateFlags.HardwareVertexProcessing.   ;  Helo,Thx a lot, it works !I have tried with the None option and it didn't worked too but with the SoftwareVertexProcessing one it works...Thx again.   