[vtkusers] wglCreateContext failed in CreateAWindow(), error: 0
Mark Wyszomierski
markww at gmail.com
Mon Jul 25 07:23:21 EDT 2005
Hi again Ingo,
I was trying the MFC sample and it produced the errors - the drivers
on that particular machine must have been really out of date because
no opengl apps were running! After I updated the drivers everything
worked fine. This was an nvidia fx go 5200 board.
I wonder then, is there any VTK function, or opengl function I can use
at application startup to see if the user's drivers are up to date /
their graphics board is comaptible and prompt them right away if there
is a problem, rather than the vtk debugger window giving them the bad
news?
Thanks!
Mark
On 7/25/05, de Boer Ingo <I.deBoer at polytec.de> wrote:
> Hi,
>
> did you try the MFC samples from the CVS ?
> They should do.
>
> greets
> Ingo
>
> ---
> Dr.-Ing. Ingo H. de Boer
>
> Polytec GmbH
> Polytec-Platz 1-7, 76337 Waldbronn, Germany
> phone: ++49 7243 604 106
> fax : ++49 7243 604 255
>
>
> > -----Original Message-----
> > From: vtkusers-bounces+i.deboer=polytec.de at vtk.org
> > [mailto:vtkusers-bounces+i.deboer=polytec.de at vtk.org]On Behalf Of Mark
> > Wyszomierski
> > Sent: Friday, July 22, 2005 9:14 PM
> > To: vtkusers at vtk.org
> > Subject: [vtkusers] wglCreateContext failed in
> > CreateAWindow(), error: 0
> >
> >
> > I'm having more problems with the MFC sample application on a single
> > user's machine. As soon as I try creating a render view I start
> > getting this message in the debugger:
> >
> > ERROR: In .\vtkWin32OpenGLRenderWindow.cxx, line 824
> > vtkWin32OpenGLRenderWindow (02FA7E60): wglCreateContext failed in
> > CreateAWindow(), error: 0
> >
> > And nothing can be drawn. Now earlier I had another wgl error with the
> > sample on some machines with ATI cards, but explicitly calling
> > Finalize() on the render window when the window closed cured that
> > problem. Any ideas?
> >
> > Thanks,
> > Mark
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>
More information about the vtkusers
mailing list