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: Asher Dunn <asher at fireyesoftware dot com>
Date: Mon, 25 Sep 2006 15:56:32 -0400
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>
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>


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