I'm doing the tutorials off the DirectX4VB sites, which are going pretty well, now I've hit this bit of code.
Surely there's a better way to distinquish whether HAL is supported or not!
Have any of you written alternatives to this one?
VB Code:
  1. Direct3D.GetDeviceCaps AdapterName, D3DDEVTYPE_HAL, CapsReturnValue
  2.    
  3. If Err.Number = D3DERR_NOTAVAILABLE Then
  4.     ' Doesn't Support HAL Layer

Thanks!