Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Extra reference after opening a file
I am having trouble with an unexplained extra reference to Excel. I'm
hoping someone here can explain. Here is some pseudo-code that illustrates what my code (that is written in C) is doing: IDIspatch * Dispatch IDIspatch * Workbooks IDIspatch * File CoCreateInstance ("Excel.Application,&IDispatch) Workbooks = PropertyGet(IDispatch,"Workbooks") File = Invoke(Workbooks,"Open","d:\test.xls") Workbooks::Release File::Release IDispatch::Release After my program terminates, I see in the XP Task Manager that an instance of Excel is still running. This does not happen if I skip the Open and related Release steps. Can anyone explain why Excel is still running? Thanks in advance. David Liebtag |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
CREATION extra FILE WHEN SAVE | Excel Discussion (Misc queries) | |||
extra blank file opening | Excel Discussion (Misc queries) | |||
Extra/empty records in CSV file | Excel Discussion (Misc queries) | |||
How can I avoid circular reference AND extra input | New Users to Excel | |||
Extra rows in csv file | Excel Programming |