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 / dbDMEMAvailable() appears to misbehave?

Author
Message
roujesky
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location:
Posted: 7th Dec 2004 10:08
I wrote a simple program, just messing around.... Anyway, I call dbDMEMAvailable() and my window just stays black. When I step, I get a return from dbDMEMAvailable() of 32, which is fine, but nothing displays, no cube, no text. If I replace dbDMEMAvailable() with dbSMEMAvailable(), the program runs fine. What is my problem? BTW: does dbTMEMAvailable() return total system memory? None of these commands appear to be in the help. I search the include files...
thanx
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 7th Dec 2004 18:44
Unfortunately DMEM does take a very long time to execute, so its best not to use in a loop - however, eventually I do get the cube.

Walk softly... and carry a big gun...
roujesky
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location:
Posted: 7th Dec 2004 22:42
Thanx. I never got the cube, but now I understand what is happening...
roujesky
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location:
Posted: 8th Dec 2004 23:46
Well, I move it out of my loop, and much better. dbDMEMAvailable() seems to take like 10-20 seconds. What happens in the guts that takes so long? Just wondering....
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Dec 2004 23:57
No idea - whatever it does its way too long...

Walk softly... and carry a big gun...

Login to post a reply

Server time is: 2024-11-18 21:53:43
Your offset time is: 2024-11-18 21:53:43