- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
摘要:
我无法让 JCL 压缩库打开任何跨区存档。它显示了 borlands 'windows.pas' 中定义的错误“(0000001) 错误函数”;
场景:
使用 JCL 压缩示例压缩的单个存档。
- 将在 JCL 示例和 7zip gui 中解压缩。
使用 JCL 压缩示例压缩的超过 7 个文件的跨存档。
- 仅在 7zip gui 中解压缩。使用 JCL 示例解压缩失败。
使用 7zip gui 压缩的单个存档。
- 将在 JCL 示例和 7zip gui 中解压缩。
使用 7zip gui 压缩超过 7 个文件的跨区存档。
- 仅在 7zip gui 中解压缩。使用 JCL 解压缩失败
额外信息
JCL 压缩演示是包含在 JCL 库中的演示。
JCL:2.2.1.3970
7zip dll:9.20.0.0 和 9.65.0.0
跨区存档集中的示例文件名:“Test Archive.7z.002”
尝试使用 .tar 和 .7z 压缩
使用了不同的文件大小。 2048字节和2048KB
德尔福2009。
这是我使用的代码。它来自 JCL 压缩演示。行“TJclDecompressArchive(FArchive).ListFiles”发生错误。
procedure TFormMain.ActionOpenROExecute(Sender: TObject);
var
ArchiveFileName, Password: string;
AFormat: TJclDecompressArchiveClass;
SplitArchive: Boolean;
begin
if OpenDialogArchiveRO.Execute then
begin
CloseArchive;
ArchiveFileName := OpenDialogArchiveRO.FileName;
SplitArchive := AnsiSameText(ExtractFileExt(ArchiveFileName), '.001');
if SplitArchive then
ArchiveFileName := ChangeFileExt(ArchiveFileName, '');
AFormat := GetArchiveFormats.FindDecompressFormat(ArchiveFileName);
if AFormat <> nil then
begin
if SplitArchive then
ArchiveFileName := ArchiveFileName + '.%.3d';
InputQuery('Archive password', 'Value', Password);
FArchive := AFormat.Create(ArchiveFileName, 0, SplitArchive);
FArchive.Password := Password;
FArchive.OnProgress := ArchiveProgress;
if FArchive is TJclDecompressArchive then
TJclDecompressArchive(FArchive).ListFiles
else
if FArchive is TJclUpdateArchive then
TJclUpdateArchive(FArchive).ListFiles;
ListView1.Items.BeginUpdate;
try
while ListView1.Items.Count < FArchive.ItemCount do
ListView1.Items.Add;
finally
ListView1.Items.EndUpdate;
end;
end
else
ShowMessage('not a supported format');
end;
end;
JCL 示例确实了解这些文件并打开它们。(图像中使用的 zip 格式。同样的问题)。
也许有人以前遇到过这个?。
谁能指出我正确的方向吗?
感谢您抽出宝贵时间。
斯科特·M.
最佳答案
该错误存在于 Project JEDI - Issue Tracker 中。
http://issuetracker.delphi-jedi.org/bug_view_advanced_page.php?bug_id=5137
两种可能的解决方法
在 procedure TJclSevenzipDecompressArchive.OpenArchive;
处的 JclCompression.pas
中注释以下行并重建包。
//注释此行!
SevenzipCheck(InArchive.Open(AInStream, @MaxCheckStartPosition, OpenCallback));
关于delphi - JEDI JCL 压缩库无法打开跨区存档文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6566738/
我遇到了以下场景,我对 cond 参数如何在前面的步骤中起作用有点困惑,这是 flsuhed 出来的。 比如…… //第一步执行 //步骤 2 执行条件=(0,ne,step1) //步骤 3 执行条
我试图了解 JCL 文件中哪里出了问题。我的代码如下: //MULTG013 JOB 1,NOTIFY=&SYSUID //STEP1 EXEC PGM=ICEGEN
我遇到了以下场景,我对 cond 参数如何在前面的步骤中起作用有点困惑,这是 flsuhed 出来的。 比如…… //第一步执行 //步骤 2 执行条件=(0,ne,step1) //步骤 3 执行条
我对如何在 JCL 中为我在 COBOL 类中执行的作业创建符号变量感到有点困惑。 例如,我应该“为 PARM 选项指定一个符号参数,并将 TEST 和 APOST 指定为默认值。” 如何将“PARM
要调用 Rexx 程序并传递参数,可以使用 IKJEFT01 // SET PARM1= // SET PARM2= //AUDITDS EXEC PGM=IKJEFT01, // PARM
在尝试日志依赖时,我遇到了以下情况: version99 http://version99.qos.ch/
我正在使用 JCL,并且有一个叫做 ICEMAN 的东西,它在使用 IBM SORT 实用程序 DFSORT 时被调用。 DFSORT 可用于排序、复制或合并文件等。在下面的示例中,输出来自 SORT
我尝试使用 IBM z/OS 运行以下 JCL 程序 //PAYMENT JOB MSGCLASS=H //PAYMENT EXEC PGM=PAYMENT,REGION=1024K
//STE1 IF RC EQ 1 THEN .... //结束 返回代码给我 FLUSH 并且所有其他作业都因此没有执行谁可以帮我这个事。是因为我没有给ELSE吗? 最佳答案 如果您有运行步骤的条件
我正在尝试以这种方式创建和删除数据集名称中带有 JCL 符号的数据集: // SET DATE=20110809 //* DELETE DATASET //DEL01 EXEC PGM=IDCA
我想知道 KEEP 和 UNCATLG 之间的区别。 据我所知,两者都将删除数据集的目录条目。 感谢和问候,玛纳西 最佳答案 我不相信。 KEEP如果该条目已经存在,则不会从目录中删除该条目。 UNC
有没有办法访问可执行文件中包含的Jedi调试信息(JDBG)? 微软调试工具向我指出了二进制文件中的堆栈链,我想知道这些偏移量对应的方法/过程/函数: user32.dll!SendMessageA+
有谁知道 Delphi 7 的 TEvaluator JCL 类中包含哪些预定义函数(例如 ABS 函数)? 最佳答案 Math.pas 中没有任何标准函数包括。默认评估解析器中实现的所有内容都是运算
背景 我们遇到一个问题,有时 Devexpress 中的网格会引发异常“引发 EConvertError:无法将 nil 分配给 TFont”。 但是为了追踪其真正原因,我们将 cxEdit 中的 F
JCL 库有一个条件定义 UNITVERSIONING。我不知道为什么这个选项存在,也不知道如何使用它。我知道有一个名为 JclUnitVersioning.pas 的单元,但找不到用途。 在实际项目
摘要: 我无法让 JCL 压缩库打开任何跨区存档。它显示了 borlands 'windows.pas' 中定义的错误“(0000001) 错误函数”; 场景: 使用 JCL 压缩示例压缩的单个存档。
在 JCL 中,通常使用 &(与号)后跟变量名称来创建符号参数。 但是在数据集名称中,变量名称后面必须跟有点号。示例: //J&USER JOB 1 //MYSTEP EXEC PGM=MYPROG
有人有使用 Actian 的 JCL 将数据检索到 Java 中松散耦合的普适数据库的示例吗?我连接的数据库只有 DAT 文件。我的目标是在 Pervasive 和 MS SQL 之间建立联系。 我不
我有一个生成随 secret 码的程序。这些引脚是用 Java 生成的,然后通过 NATURAL 程序存储在大型机中。从那里,它们最终由批处理 JCL 作业实际打印,该作业调用 MVS SCRIPT
我有一个非常棘手的问题。我有一种容器,可以使用具有类 ComponentContext 作为参数的方法来运行自定义 JAR。加载后,我想通过反射调用此方法,但有一个问题 - 我必须使用相同的类加载器(
我是一名优秀的程序员,十分优秀!