Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my code i am creating object for ProcessStartInfo class and another object for Process class.

To release memory for this two objects i was using

C#
Marshal.ReleaseComObject();
function. it was working fine till yesterday, today when i run this code im getting "Invalid COM object" exception.

Please suggest me alternative function for these classes to release memory.
Posted
Comments
n.podbielski 7-Nov-12 5:18am    
I would say that there is something wrong with your code in other place.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900