Excel.application shutdown problem
From: Michael Hoffmann (m.hoffmann)
Date: 04/12/04
- Next message: Harald Finster: "Re: DCOM on Windows 2003 server"
- Previous message: Moulesh Sinha: "How to access ocx control from remote machine"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 12 Apr 2004 16:18:31 +0200
Hello,
When I do this:
app := CoCreateInstance(.... "excel.application"...)
workBooks := app:workBooks
workBooks:Release()
app:Release()
an Excel process is started and stopped. Perfect.
But when I open a workbook and release the reference
to it like this:
app := CoCreateInstance(.... "excel.application"...)
workBooks := app:workBooks
workBook := workBooks:Open( filename )
workBook:Release()
workBooks:Release()
app:Release()
the Excel process is not stopped and the Excel application
and workbook remain in the ROT. Why? Shouldn't they
be destroyed when the reference count goes to 0?
Thanks
Michael
- Next message: Harald Finster: "Re: DCOM on Windows 2003 server"
- Previous message: Moulesh Sinha: "How to access ocx control from remote machine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|