I was using an advanced version of Prospekt Source when I tabbed out of the game in fullscreen and it gave me an error that states "DirectX8 had trouble initiating. Please make sure your graphics card can support DirectX8 and/or is installed."
The game runs well just that doesn’t work. This is the Line i edited to make fullscreen.
Private Function InitD3DDevice(D3DCREATEFLAGS As CONST_D3DCREATEFLAGS) As Boolean On Error GoTo ERRORMSG D3D8.GetAdapterDisplayMode D3DADAPTER_DEFAULT, DispMode ScreenWidth = InternalWidth ScreenHeight = InternalHeight DispMode.Format = D3DFMT_X8R8G8B8 D3DWindow.SwapEffect = D3DSWAPEFFECT_COPY DispMode.Width = ScreenWidth DispMode.Height = ScreenHeight D3DWindow.BackBufferCount = 1 D3DWindow.BackBufferFormat = DispMode.Format D3DWindow.BackBufferWidth = ScreenWidth D3DWindow.BackBufferHeight = ScreenHeight D3DWindow.hDeviceWindow = frmMain.hwnd D3DWindow.Windowed = False - THIS IS THE LINE I made to work fullscreen. If Not D3DDevice8 Is Nothing Then Set D3DDevice8 = Nothing Set D3DDevice8 = D3D8.CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, frmMain.hwnd, D3DCREATEFLAGS, D3DWindow) InitD3DDevice = True Exit Function ERRORMSG: Set D3DDevice8 = Nothing InitD3DDevice = False End Function