WinApi 错误代码 193。检查 'evopdftohtml.dat'

WinApi error code 193. Check 'evopdftohtml.dat'

string pdfFileName = txtpdfpath.Text.ToString();
PdfToHtmlConverter pdfToHtmlConverter = new PdfToHtmlConverter();
pdfToHtmlConverter.CreateIndexFile = false;
var outputDirectory = @"C:/";
pdfToHtmlConverter.PdfToolFullPath= txtpdfpath.Text.ToString();
pdfToHtmlConverter.ConvertPdfPagesToHtmlFile(pdfFileName, outputDirectory, "output");

这是我的示例代码,我正在尝试将 pdf 转换为 html,但它抛出了

之类的异常

WinApi error code 193. Check 'evopdftohtml.dat' file has execute permissions and that it exists near the DLL or set the PdfToolFullPath property with the full path of the file

即使在使用文件的完整路径设置 PdfToolFullPath 属性 之后我也面临同样的异常

谁能帮我解决这个问题?

您尝试在哪个 Windows 版本上使用该库?

您设置的 PdfToolFullPath 的确切值是多少?

PdfToolFullPath 应该是 evopdftohtml.dat

的完整文件名