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 / Run error

Author
Message
mastermike
15
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 25th May 2009 17:23 Edited at: 25th May 2009 18:29
Yeah, well, i didn't know how to title this
Anyways, its a wierd little thing, i try to compile the texture tutorial (with some changes) and when i press ctrl+F5 to start the program without debugging, it runs all fine. But when i try to run the .exe from explorer, a messagebox pops out, saying : "6", when i click ok, another one comes up saying that Instruction 0x005c2d1e referred to address 0x0000008. Memory could not be read. Click ok to terminate the program, cancel to debug (rough translation from norwegian).
Any ideas? (I've tried compiling both as debug and release, none works)
Heres the code, i guess you want it
Sharp Bullet
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location: Pluto
Posted: 25th May 2009 20:07
I didn't look at the code but it seems that you have uninitialized variables...

First say to yourself what you would be; and then do what you have to do.
Sharp Bullet
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location: Pluto
Posted: 25th May 2009 20:08
Try to run it in debug mode and see which is the problem.

First say to yourself what you would be; and then do what you have to do.
mastermike
15
Years of Service
User Offline
Joined: 25th May 2009
Location:
Posted: 25th May 2009 23:41
Debug mode gives me an error reading:
Unhandled exception at 0x6604a92f in fuuugl.exe: 0xC0000005: Access violation reading location 0x0abcb000.
Then when i click break it sais no source code avaible for the current location. Gives me the choice: Ok, show disassembly.
The debug problem goes for everything i try to debug
Sharp Bullet
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location: Pluto
Posted: 26th May 2009 18:20
...the debugger shows you were the error is located in source code if you look in the editor after you debugger "breaks" the program from running.

deleting the line
dbUpdateTerrain( );

will stop the program to give any error of this kind but still give me an error:

6

-really : don't know what it is...

First say to yourself what you would be; and then do what you have to do.

Login to post a reply

Server time is: 2024-10-06 15:21:54
Your offset time is: 2024-10-06 15:21:54