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 / Hello World: Unhandled exception... Access violation reading location...

Author
Message
Olivia
15
Years of Service
User Offline
Joined: 20th Feb 2009
Location:
Posted: 20th Feb 2009 23:02
Hi,javascript:insertSmiley('') I am incredibly new to GDK... I downloaded everything, ran through the tutorial, typed the Hello World program:

#include "DarkGDK.h"

void DarkGDK (void )
{
dbSyncOn();
dbSyncRate ( 60 );

while ( LoopGDK ( ) )
{
dbSync ( );
}
return;
}

And upon compilation, was faced with the run time error:

Unhandled exception at 0x6604a92f in Hello2.exe: 0xC0000005: Access violation reading location 0x0cb2b000.

What did i do wrong? My laptop is an Alienware area51 from last year, running Windows XP... if that matters at all...

(sigh) if anyone has an idea--i'd love to hear it...

Esse quam videri
AlexZinn
15
Years of Service
User Offline
Joined: 17th Feb 2009
Location:
Posted: 20th Feb 2009 23:35
Try to restart your pc and try again, if not work reinstall darkGDK

Try to compile normal programs withought darkGDK and check if you have the error..
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 21st Feb 2009 11:09
Whoa! Have you included the library files for DarkGDK in your project properties? Why not try running one of the template files instead of typing your own from scratch. That should have them all set up ready for you.

Login to post a reply

Server time is: 2024-11-25 15:12:50
Your offset time is: 2024-11-25 15:12:50