Yeah, that's how I remember "solving" error 6. Ignoring it worked
perfectly fine, and I still don't know what causes it. Error 6 is
ERROR_INVALID_HANDLE, pretty much the same thing as 1400
(ERROR_INVALID_WINDOW_HANDLE). Any more experienced Windows
programmers out there who might be able to shed some light on this?
The code in question is available at http://www.fireyesoftware.com/
developer/opengldeclares/
Asher
-------------------------
Asher Dunn
Head Developer, Fireye Software
http://www.fireyesoftware.com/
AIM, Yahoo, MSN: crazedglkid
On Sep 26, 2006, at 4:21 AM, Fargo Holiday wrote:
Okayyy....
So, on a whim, I commented out the error checking block inside
setupcontext, and voila, the demo ran. I tried it a couple of
times, goofed around, came back to run it again, and it was
throwing error 6 again. So, I searched a bit and found the second
error checking block that could throw that message and commented it
out. Now it's running again. I moved the init code back into open
and still received the error 1400 message, so I commented out the
error checking block inside CreatePixelFormat and again, it's cool.
So.. with greatly reduced error checking, it seems to work fine.
So, any thoughts there? I'm not one to advocate simply not checking
errors.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|