给你点代码,按楼上给的路径查声卡的型号<br><br>var reg:Treginifile;<br>s:string;<br>begin<br>reg:=treginifile.create('');<br>reg.rootkey:=HEY_LOCAL_MACHINE;<br>s:=get.readstring('System/CurrentControlSet/Services/Class/Media/0000 ',<br>'DriverDesc','');//字符串s中就是声卡的型号<br>reg.close;<br>end;<br>还有在uses子句中要加入registry