Delphi7: Get attached monitor properties
问题 How do I get my monitor's properties? I'm mostly interested in the manufacturer name and model type. I also don't want to get it from the registry. (Some PC's like my work PC has restricted access to the property key so I'd rather want to scan a system bus or something other than the reg.) Any ideas? Thanks SoulBlade 回答1: try using the Win32_DesktopMonitor WMI Class. this class have all the information wich you are looking. check this sample code. program GetWMI_MonitorInfo; {$APPTYPE CONSOLE