Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   C++ Builder (https://www.clubdelphi.com/foros/forumdisplay.php?f=13)
-   -   Detectar fabricante de graficos (https://www.clubdelphi.com/foros/showthread.php?t=73611)

Diego827 04-05-2011 22:09:29

Detectar fabricante de graficos
 
Hola amigos, una consulta: necesito detectar si el fabricante del chipset o GPU de video de la pc es ATI, Intel o nVidia; agradeceria cualquier respuesta,

Saludos a toda la comunidad Delphiana,

beginner01 04-05-2011 23:17:23

saludos.

revisa aqui

Diego827 05-05-2011 03:57:34

Gracias!!!
 
Código:

Have  you ever wondered what display devices are available to your  application? Here are some good starting points. But you should remember  to further investigate this avenue, as it's more to using the display  settings than detecting them.
 
procedure TForm1.ButtonClick(Sender: TObject);
var
  lpDisplayDevice: TDisplayDevice;
  dwFlags: DWORD;
  cc: DWORD;
begin
 lpDisplayDevice.cb := sizeof(lpDisplayDevice);
 dwFlags := 0;
 cc:= 0;
 while EnumDisplayDevices(nil, cc, lpDisplayDevice , dwFlags) do
  begin
    Inc(cc);
    aListbox.Items.Add(lpDisplayDevice.DeviceString); {there is also additional information in lpDisplayDevice}
  end;
end;
 

Another way to detect video card settings is to read them from the registry, under the following registry key(s) :
 
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display
 
However, if you previously had other videocards installed, you will still
have keys for the older videocards as well
%HKLM%\System\CurrentControlSet\Services\Class\Display\0000
%HKLM%\System\CurrentControlSet\Services\Class\Display\0001
%HKLM%\System\CurrentControlSet\Services\Class\Display\0002
.....



  Bogdan Grigorescu - [email protected]
  BG Remote Programming Group

Excelente amigo, muy agradecido por tu atención.


La franja horaria es GMT +2. Ahora son las 21:44:55.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi