[vtkusers] wglCreateContext failed in CreateAWindow(), error: 0

de Boer Ingo I.deBoer at polytec.de
Mon Jul 25 07:34:42 EDT 2005


Hi Mark,

I don't think so, because VTK has to check every individual
graphics card. They store their version information at
different locations in the registry, as far as I know.

You could only check the OpenGL version, but it does not
say anything about the graphics card driver.

If you always use the same card, your application might 
read the registry string an compare it.

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: Mark Wyszomierski [mailto:markww at gmail.com]
> Sent: Monday, July 25, 2005 1:23 PM
> To: de Boer Ingo
> Cc: vtkusers at vtk.org
> Subject: Re: [vtkusers] wglCreateContext failed in CreateAWindow(),
> error: 0
> 
> 
> 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



More information about the vtkusers mailing list