Few Years later... and still the same Ghost Application problem in XP with Excel...
I use Labwindows CVI 8.0
I used this instructions:
ExcelRpt_ApplicationNew (1, &Appli_Handle);
ExcelRpt_WorkbookNew (Appli_Handle, &Workbook_Handle);
ExcelRpt_WorksheetNew (Workbook_Handle, -1, &Worksheet_Handle); //Add one sheet
// Select the first sheet
ExcelRpt_GetWorksheetFromIndex (Workbook_Handle, 1, &Worksheet_Handle);
ExcelRpt_ActivateWorksheet(Worksheet_Handle);
CA_DiscardObjHandle (Worksheet_Handle);
ExcelRpt_WorkbookClose (Workbook_Handle, 0);
CA_DiscardObjHandle (Workbook_Handle);
ExcelRpt_ApplicationQuit (Appli_Handle);
CA_DiscardObjHandle (Appli_Handle);
Is this issue will be fixed in next Labwindows CVI release ? That is several years that Im waiting for this 🙂
Best Regards,
M.Walenne.