I created a C # vanilla dll and tagged it for COM inter op. A DLL is a simple user form without any functionality, as it is an experiment.
I registered the DLL and opened the active test container x and instantiated my COM object. It appears in the test container, and I can view the public methods of the control - these are the default methods, not the ones I created.
i then exit the active test container x, and I noticed that the test container is still hiding in the task manager and that I had to kill the process manually. This makes me think that the test container still contains a link to my C # dll exposed for com inter op.
The default dispose method in designer.cs
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
Quick Time, , , , , .
- -, dispose? , , , #, , , - .