Game Development Community

Access Violation errors.

by Jeff Raab · in Torque Game Engine · 08/06/2006 (5:14 pm) · 0 replies

I hate pointers.
Ok, now that that little declaration of angst is out of the way, onto the problem.
I'm currently working on making a grid and the accessing it's contents for use in a system later on.
The problem lies in the fact that when i go to step through the nodes and grab their contents, it merits me with an access violation error and promptly crashes Torque.
Normally I could divulge what might be causing this, but this time truely has me stumped.
I'm using the exact same line of code(copy and pasted to be doubly sure) in 2 seperate functions. One of which is the render function. In the one function, it works perfectly fine, no issues at all. In the other function(the render function, should that be important) it will give me the access violation, and crash.
I havent the foggiest what might be causing this, especially since in a seperate function, it works perfectly, so if anyone might be able to help, i'd *greatly* appreciate this.

Cheers,
-Jeff "Reno" Raab