PDA

View Full Version : Run time error with Vista



Question
06-04-2009, 03:16 PM
I am running a simple cube program that windows code to manage the microsoft windows. I am using Visual c++ and I have told the linker to load GlU32.Lib OpenGL32.Lib glut32.lib ... what I get is a black screen of death and then access violation

First-chance exception at 0x02658640 in cube.exe: 0xC0000005: Access violation.
Unhandled exception at 0x02658640 in cube.exe: 0xC0000005: Access violation.
The program '[5676] cube.exe: Native' has exited with code -1073741819 (0xc0000005).


Does anyone know what this is or has code that currently works on vista that they could share and tell me their setup?

dletozeun
06-04-2009, 03:22 PM
What do you expect us to do with such an output? Compile and trace your code in debug mode, you are simply accessing to a invalid data area, probably in a array or through a pointer.

Question
06-04-2009, 05:57 PM
This code works fine on NT, you don't have to be rude

matchStickMan
06-04-2009, 08:39 PM
try this:

http://www.idfun.de/glut64/

ps:
Please don't double post.

dletozeun
06-05-2009, 02:18 AM
Sorry I did not want to be rude or something, it is just that I wanted to bring to your attention that beginning a thread with a segmentation fault output won't help us to solve your issue.

It is not because it runs smoothly on windows nt that it should be the same on vista. So I insist, debug and trace your code, isolate the error and come back with a more specific question (without any pun... :) )

Question
06-05-2009, 07:08 AM
Thank I will look more closely