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