Hi all
I'm using LabVIEW to create a PDF test report.
Using a virtual PDFCreator Printer, every time a report sheet is printed, a PDF file is created.
At the end of the printing phase, I need to merge all .pdf filles together, using PDFCreator-cli.exe.
While PDFCreator-cli.exe executed from command line, directly from terminal, always works fine, when i call it from LabVIEW i get:
Unhandled Exception: System.IO.IOException: The handle is invalid.
at System .IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
at pdfforge.PDFCreator.UI.CLI.Program.ConfigureParser()
at pdfforge.PDFCreator.UI.CLI.Program.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at pdfforge.PDFCreator.UI.CLI.Program.(String args)
can someone give me any hint about it?
Roberto