Skip to main content
gamedev.net
🔒 Locked

Unhandled exception error!

Started by shakazed Oct 7, 2001 at 3:15 AM 1 replies 200+ views
Original Post
shakazed
shakazed
I get this error evrytime I try to run my D3d app. It´s written exactly as the dx doc shows, but I don´t know if I need to link some more librarys. The error occurs when the program runs IDirect3D8Device::Clear(). I have linked dxguid.lib, d3d8.lib and d3dx8.lib to the project. <>
DrunkenHyena
DrunkenHyena
G''day!

Likely you''re passing a bad (likely NULL) pointer somewhere. It has nothing to do with linking. If you left a library out it wouldn''t finish compiling (well, linking to be exact).


Stay Casual,

Ken
Drunken Hyena
Stay Casual,KenDrunken Hyena</FON
jwalker
jwalker
try catching the exception ..

then check whether it is really the clear() ?? or somewhere else..

check for NULL pointer,

did u even create the device properly ??



{ Stating the obvious never helped any situation !! }

Topic Locked

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

Sign in to reply to this topic.