realbasic-games
[Top] [All Lists]

Re: anyone point me to an OpenGL declare project?

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: anyone point me to an OpenGL declare project?
From: Fargo Holiday <fargo at rpgportland dot com>
Date: Mon, 25 Sep 2006 21:03:15 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <4516BF39 dot 10002 at rpgportland dot com> <11AC41CD-A7F2-45BF-A530-C67EE1B97BE0 at fireyesoftware dot com> <45174B34 dot 4040001 at rpgportland dot com> <BBA7B3E3-9BB3-4C92-9204-100490052C2E at fireyesoftware dot com>
Hmmm... well. When I try that I get a different error:
"Error 6 when attempting to create the OpenGL context"
I also see, in the window, junk from my video buffer from the last hardware accelerated thing I've used, usually a game, or if I just rebooted it'll have POST junk.
I updated my video drivers, just for kicks, but no change.

Asher Dunn wrote:
Hello,

I can reproduce this error on some Windows machines but not others, and I don't really understand it. The only thing I can think of is that maybe RB hasn't instantiated the window fully in the Open() event, causing the window handle to be invalid at the time. Try moving the code from Open() to MouseDown(). If it works that way (after clicking, obviously), then my guess is correct. We'll need to find a better solution, but that would help narrow down the number of possible causes.

Asher

-------------------------
Asher Dunn
Head Developer, Fireye Software
http://www.fireyesoftware.com/
AIM, Yahoo, MSN: crazedglkid


On Sep 24, 2006, at 11:21 PM, Fargo Holiday wrote:

Howdy,
When I run the example it pops up an error box that says "Error 1400 when attempting to create the pixel format". Searching around I found a post that mentioned this was due to an invalid window handle, but nothing about why it happened or how to correct it. This is on XP SP2.

Any thoughts?

Thanks,
Fargo

_______________________________________________
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>




--No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.8/455 - Release Date: 9/22/2006


_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>