How can I find a .NET object if I've lost the handle?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
wordApp = Microsoft.Office.Interop.Word.ApplicationClass;
This line creates an instance of Microsoft Word, as can be observed by looking at the Windows Task Manager: the process WINWORD.EXE appears in the list. The line
wordApp.Quit()
close the application, and the WINWORD.EXE process disappears.
Now suppose the first line is called within a function, but not the second, and the handle wordApp is not returned by said function. Is there any way to retrieve a valid handle to the object instance, which still remains?
1 Comment
Michael
on 21 May 2013
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!