Skip to main content
gamedev.net
🔒 Locked

GetDeviceCaps?

Started by Master Ar2ro 1 reply 350+ views
Original Post
Master Ar2ro
Master Ar2ro
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
------------------------------ Master Ar2ro ar2ro.niuniek.net
Master Ar2ro
Master Ar2ro
Actualy... It''s not ...
Thanks for help
It was initialized much later, just before the rendering ...

Thanks again...

--------------------
Master Ar2ro
republika.pl/master_ar2ro
GG:5412871
------------------------------ Master Ar2ro ar2ro.niuniek.net

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.