下面使用PDFNet nuget包(v6.8.56.6513)将PDF文档转换为XOD的代码抛出了异常。然而,nuget包的以前的version (v6.8.2.65223)工作没有任何问题。要出版这期杂志,请下载this file。
平台: x64,.Net框架v4.7.2。
using System;
using pdftron;
namespace PdfTronTest2
{
class Program
{
private static PDFNetLoader loader = PDFNetLoader.Instance();
static void Main(string[] args)
{
try
{
PDFNet.Initialize();
pdftron.PDF.Convert.ToXod("art of unit testing.pdf", "art of unit testing.xod");
}
catch (Exception ex)
{
Console.WriteLine(ex);
}
}
}
}例外:
System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=<Cannot evaluate the exception source>
StackTrace:
at trn.PDF.Convert.ToSilverlight(UString* , UString* , Obj* , Boolean )
at pdftron.PDF.Convert.ToXod(String in_filename, String out_filename)
at PdfTronTest2.Program.Main(String[] args) in C:\Users\mvinchhi\source\repos\PdfTronTest2\PdfTronTest2\Program.cs:line 15发布于 2020-01-24 02:46:53
再次感谢您的详细报告。
这个问题已经解决了,我们的生产渠道也被修补了。从明天开始,您可以从我们的夜间构建站点下载修补的生产构建。
我看到你在我们的论坛上发了帖子,所以我会在那里为你提供更多关于何时何地下载的详细信息。
https://stackoverflow.com/questions/59872928
复制相似问题