Subject: 提示 delphi xe 下专家包的 BUG [Print This Page]
Author:
inbreak Time: 2011-1-27 16:21 Subject: 提示 delphi xe 下专家包的 BUG
刚下的新版本。。
还是有这样的错误;
如图1
我修改了默认的 输出路径
如图2
[ 本帖最后由 inbreak 于 2011-1-27 16:22 编辑 ]
Image Attachment:
[图1]
无标题.png (2011-1-27 16:21, 66.24 K) / Download count 216
http://bbs.cnpack.org/attachment.php?aid=811
Image Attachment:
[图2]
无标题1.png (2011-1-27 16:21, 35.4 K) / Download count 217
http://bbs.cnpack.org/attachment.php?aid=812
Author:
Passion Time: 2011-2-7 14:06
可否将出错的脚本上传至论坛供我们查查?
Author:
inbreak Time: 2011-2-8 00:29
{*******************************************************}
{ }
{ Pascal Script Source File }
{ Run by RemObjects Pascal Script in CnWizards }
{ }
{ Generated by CnPack IDE Wizards }
{ }
{*******************************************************}
program AutoInsertCompileTime;
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
var
CurPath: string;
Lines: TStringList;
begin
CurPath := ExtractFilePath(CnOtaGetCurrentProjectFileName)+'my.inc';
Lines:= TStringList.Create;
try
Lines.Add('const FCompileDate = ''' + FormatDatetime('yyyy-mm-dd', Date()) + ''';');
Lines.Add('const FCompileTime = ''' + FormatDatetime('hh:nn:ss', Time()) + ''';');
Lines.Add('const FCompileDateTime = ''' + FormatDatetime('yymmdd.hhnnss', Now) + ''';');
Lines.SaveToFile(CurPath);
finally
Lines.Free;
end;
end.
[ 本帖最后由 inbreak 于 2011-2-8 00:32 编辑 ]
Author:
Passion Time: 2011-2-8 13:48
比较奇怪,我这儿是SaveToFile出错,似乎和当前工程的设置没什么关系。
Welcome to CnPack Forum (http://bbs.cnpack.org/) |
Powered by Discuz! 5.0.0 |