   Multiple adapters/devices at once?    
  I'm trying to create a fullscreen Direct3D8 app that can render to two monitors at once (same box, two adapters).I can succesfully create the devices, but when I Present to either device, I lose the OTHER device (so I'm constantly failing the Present, waiting to re-acquire))I suspect it might be either a focus issue, or (maybe) that directX can only have one active device at a time (which would be a bummer).I haven't tried multithreading this yet... not entirely sure if it can work at all.If anyone has sucesfully done this, respond or e-mail me at koozerd@oit.edu.[edited by - Nypyren on August 20, 2002 3:55:44 AM]
  1. Make sure both devices have the **SAME** focus window.2. Make sure both devices have **DIFFERENT** device windows.3. Make sure both devices were created from the same IDirect3D8 interface.4. Create Device 1, Create Device 2, Reset Device 1    --Simon O''ConnorCreative Asylum Ltdwww.creative-asylum.com;  Same focus window ... checkDifferent device windows ... checkSame IDirect3D8* ... check(pseudo code)main window created (topmost)presentparameters window = main windowfor each adapter{  if (adapter_num != 0)  {    create new device window    presentparameters window = this new window  }  CreateDevice(using the main window as hwnd param)}// Did not do a reset device1 here yet, will try itfor each adapter  clear  beginupdate  endupdate  present    if (present failed) try to reset it onceI''m assuming that the first device can use the main focus window... (adapter[0]''s hwnd is the main hwnd, adapter[1]''s hwnd is the first "new window", etc.)  