Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / error 6 - I dont understand it

Author
Message
Usukhuu
16
Years of Service
User Offline
Joined: 10th Jan 2008
Location:
Posted: 22nd Mar 2008 11:01

<br><br>

<br><br>
I'm rebuilded that. But not errors and warnings . Then i Start Debugging. But my game doesn't work. help me .
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 22nd Mar 2008 17:52
Debugging is more than just running it in debug mode. Have you tried setting a breakpoint at the beginning of your program and then stepping through or into it to see where the error occurs?

At a guess I'd say that the problem is in the function call that involves hWnd. But, not knowing what it does or what the code looks like, it's only a guess. Do you have something in your code pops up a window with the digit '6' in it? If so, look in that area.

Lilith, Night Butterfly
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 23rd Mar 2008 01:49
Ok I have noticed an error in your code, you are calling dbSetShadowShadingOn with an object id of 1, but you haven't created an object yet. I'm not sure if this is causing the very informative Error: 6 but it will definitely cause something to go wrong.

Much good work is lost for the lack of a little more.
Usukhuu
16
Years of Service
User Offline
Joined: 10th Jan 2008
Location:
Posted: 23rd Mar 2008 12:58
thanks all. i find that error.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 24th Mar 2008 18:33

Login to post a reply

Server time is: 2024-09-29 15:19:46
Your offset time is: 2024-09-29 15:19:46