EO.Pdf.dll ver. 15.3.22.0
EO.Base.dll ver. 15.3.22.0
Windows 10 1909 OS Build 18363.535
IIS 10.0.18362.1
STR
1. Create ASP.NET Web Application (.NET Framework) via Visual Studio
2. Add
Code: C#
var memoryStream = new MemoryStream();
EO.Pdf.Runtime.AddLicense(license);
HtmlToPdf.Options.PageSize = PdfPageSizes.A4;
HtmlToPdf.Options.OutputArea = new System.Drawing.RectangleF(0.5f, 0.5f, 200f, 200f);
HtmlToPdf.ConvertHtml("<strong>blah-blah-blah</strong>", memoryStream); // <- !!!
memoryStream.Position = 0;
var result = memoryStream.ToArray();
HtmlToPdf.ClearResult();
3. Deploy
At the first run, these processes:
rundll32.exe c:\windows\SysWOW64\rundll32.exe --eopfd
rundll32.exe c:\windows\SysWOW64\rundll32.exe --eoim
are displayed in the task manager with the status
SuspendedAfter that, System.Exception
Failed to resolve LoadLibrary is thrown.
Subsequent calls throw System.InvalidOperationException
No process is associated with this object