LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ExcelRpt_ApplicationQuit GHOST EXCEL process in Windows XP

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.
0 Kudos
Message 1 of 2
(3,286 Views)
As far as I can see, this is a problem with Excel, not CVI.
 
Excel 2003 appears to ignore application quit requests, whereas Excel 2000 honours them. As for Excel 2007, does anyone have any experience of this?
--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 2
(3,273 Views)