Hello,
I have an odd bug. I am using excelreport.fp to open an Excel application for reading.
This works 95 percent of the time, except every now and then Excel will freeze or hang up.
I have to close my application and manually terminate the Excel process in order to recover.
I found the issue by stoping during debug and the code is stuck on Excel function.
I am trying to reproduce the error now, but it decided to work today. But I know the hang up is in one of these lines from a past debug:
ExcelRpt_ApplicationNew (VFALSE, &applicationHandle);
ExcelRpt_WorkbookOpen (applicationHandle, supp_language.filepath, &workbookHandle);
ExcelRpt_GetWorksheetFromIndex (workbookHandle, 1, &worksheetHandle);
I am pretty sure the issue occurs and freezes on WorkbookOpen, but since I can't repeat it on demand I can't be 100% sure.
Anyone else experience issues opening Excel using excelreport.fp?
Am I perhaps just using Excel before it is ready?
Is there an Excel timeout to generate a failure so that I am not stuck in an infinite loop?
Thanks.