摘要:
取程序路径 function GetAppPath: String;begin Result := ExtractFilePath(Application.ExeName);end;取计算机名1 Function GetPcName:String;2 Var3 buffer:array[0..254]of char;4 Size:Dword;5 begin6 Size:=SizeOf(Buffer);7 GetComputerName(buffer,Size);8 result:=String(Buffer);9 end;输入对话框function InputQuery(... 阅读全文