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 / dbSetDisplayMode with dbStr

Author
Message
MayoZebraHat 1979
16
Years of Service
User Offline
Joined: 21st Dec 2007
Location:
Posted: 24th Feb 2010 09:13 Edited at: 24th Feb 2010 09:59
A simple pseudo example from memory:

void DarkGDK()
{

dbSetDispalyMode(d,x,y);

char * sFPS = dbStr( dbScreenFPS() );


}

is returning an 'invalid cruntime parameter' runtime error (0xc0000417). Anytime dbStr is called when setdisplaymode is called (or any of the similar functions) it happens. sprintf is working fine so I've been using it. Am I doing it wrong?

Nevermind. It helps to call the parameters in the right order... bit depth isn't first.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 24th Feb 2010 10:48

better than dbStr

Login to post a reply

Server time is: 2024-11-19 15:28:39
Your offset time is: 2024-11-19 15:28:39