I am testing out the evaluation version of the Viewer and would like to purchase however the code below throws a concerning memory exception. How soon will this be resolved?
// Set viewer configuration ViewerConfig config = new ViewerConfig(); config.StoragePath = @"C:\junk\"; // Initailize ViewerHandler ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(config); // Get Html pages List<PageHtml> pages = htmlHandler.GetPages(@"E:\Test.xlsx"); MessageBox.Show("done");
And the error thrown is:
FatalExecutionEngineError occurred HResult=-2147467261 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. StackTrace: at . () at . (String , Stream , RenderOptions ) at . () at . () at . () at . () at . () InnerException: