Original Post
I have a problem with the GetDeviceCaps function. My MS VC++ 6 doesn''t return any errors, the types and pointers are correct, but it doesn''t work. My WinXP displays the error box "There is a problem with the application tq.exe, and it will be closed."
(this is a translation of that part of message - oryginal in polish) and terminates it. Anyone can help?
-- Source --
...
HRESULT TQDeviceD3D::DeviceCaps(D3DCAPS8 *pCaps)
{
return g_pd3dDevice->GetDeviceCaps(pCaps);
}
...
static TQDeviceD3D &tqD3DDev
...
D3DCAPS8 d3dCaps;
tqD3DDev.DeviceCaps(&d3dCaps); <-- Never passes this line
...
------------
WinXP, DX 8.1, RADEON 8500
--------------------
Master Ar2ro
republika.pl/master_ar2ro
GG:5412871