Failed assert
Is there any logical reason that all my asserts are failing? They shouldn't be, but they are and it's crashing my game every time. Any ideas?
Zumichu
Edited by - felisandria on May 24, 2001 11:04:25 AM
[I did absolutely nothing, and it was everything that I thought it could be]
You''re going to have to give us more information. An assert is just a tool, meant to catch problems before they do really really bad things. You''re basically telling us "there''s something wrong with my "if" statement, it doesn''t return the right value." We have no idea why you put the if statement there in the first place or what it''s supposed to do.
Now, if you didn''t actually put the assertion statements into your program, there''s a good chance that you''re doing something bad like accessing a null pointer or trying to manipulate a window before the handle is created.
-fel
Now, if you didn''t actually put the assertion statements into your program, there''s a good chance that you''re doing something bad like accessing a null pointer or trying to manipulate a window before the handle is created.
-fel
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
What I meant was is there any way that every ASSERT macro instance that I use would fail (unconditional of the condition). like if I don''t have something set up right in my project or something. It sounds stupid, but I just wanted to see if this is possible given the fact that every one of my ASSERTs are failing and crashing my program i.e. I comment out an ASSERT and my program will run fine untill the next ASSERT.
hope that clears it up. thanks.
hope that clears it up. thanks.
[I did absolutely nothing, and it was everything that I thought it could be]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement