delphi 理解ParamStr 演示代码如下 ::code procedure TForm1.FormCreate(Sender: TObject); var i: Integer; begin self.Memo1.Lines.Add(IntToStr(ParamCount)); for i := 1 to ParamCount do begin self.Memo1.Lines.Add(ParamStr(i)); //self.Mem
在批处理最后增加了启动Delphi的命令.将批处理和Delphi放在同一目录即可. ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 @ECHO OFF REM Enter temp directory. %TEMP:~0,2% CD %TEMP% REM Try delete previously created/renamed files which was released after reboot. DEL Ed
This has been described at About: http://delphi.about.com/cs/adptips2001/a/bltip0701_4.htmBasically, you just use the GetFileVersionInfo function to obtain the data and then VerQueryValue function to read it. Because these API functions are a bit 'ha