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 / dbGetTextureNonLocalVideoMemory() crash

Author
Message
billy the kid
14
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 7th Feb 2005 23:46 Edited at: 7th Feb 2005 23:51
dbGetTextureNonLocalVideoMemory() crashes my computer no matter where I call it. Not sure why. All I know is that its the only 3D availability function that does it. And all I would need to do is use a try/catch block, but I would think (hope) that all the DGSDK functions would already do that. This is the error:

Unhandled exception at 0x005b0780 in Game.exe: 0xC00000FD: Stack overflow.

My system specs are:
Windows XP Pro
1.6GHz P4
512MB RAM
ATI 9600XT

Oh and much of the documentation for the 3D availability functions do not match the header file.
OSX Using Happy Dude
15
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Feb 2005 02:44
Crashes here too...

Visit http://homepages.nildram.co.uk/~nickk/
Questions are a burden to others, answers a prison for oneself.
IanM
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 8th Feb 2005 20:55
The standard C++ exception mechanism will not catch this type of machine exception. You need to use the MS exception handling system instead.

I would put an example up, but there's a perfectly good one in the Visual Studio docs. Just search for __try, __except and __finally (each of those have 2 underscore characters).

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
billy the kid
14
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 9th Feb 2005 03:39
Ok thanks. I dont plan on catching the exception though. Ill just wait till its fixed to use the function.

Login to post a reply

Server time is: 2019-08-18 22:05:57
Your offset time is: 2019-08-18 22:05:57