The COM server . Exe got started by your new MyInterop.SomeObject() call. You've no doubt got so many .
Exe's running because you terminated the program while debugging, without allowing . NET to shutdown properly and decrease the reference count in the finalizer thread. COM doesn't have a mechanism to clean-up these lost references.
Simply use Taskmgr. Exe, Process tab to kill the running instances.
The COM server . Exe got started by your new MyInterop.SomeObject() call. You've no doubt got so many .
Exe's running because you terminated the program while debugging, without allowing . NET to shutdown properly and decrease the reference count in the finalizer thread. COM doesn't have a mechanism to clean-up these lost references.
Simply use Taskmgr. Exe, Process tab to kill the running instances. COM has a mechanism to attach to a running instance of a server through the ROT (Running Object Table).
This is however not something you can bolt on later, it has to be explicitly supported by the server. If you do have to option to tinker with the server then do consider making it an in-process server instead. Much less troublesome.
You could try creating the config file dynamically based on debug version.
– Vilx- Dec 6 at 15:19 Ah, if you've got concurrent apps you'll need those different servers .. was originally going to suggest building multiple debug versions of the server .. though potential registry mess .. if I understand your last comment not sure what options you have. – Alan Stephens Dec 6 at 15:34 Well, currently it's just a hypothetical scenario, and I hope I never actually have to do it... but I like to be prepared. So you're saying - COM does not allow such perversions?
– Vilx- Dec 6 at 15:35 well, if you have to re-build your COM server for each config file you'll have fewer options than reading from the config at runtime. I'm sure the latter would allow a solution but COM can get pretty messy. – Alan Stephens Dec 6 at 15:44 It's more like there are several versions of the COM server on our testing servers ("servers" as in - physical machines), so it'd be nice to specify which one to use.
Also, each of these COM servers has its own DB (hence the different configs), since the DB version and software version have to match. Oh, and since our software supports both MSSQL and Oracle, then each version also has two copies for this sake. – Vilx- Dec 6 at 15:50.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.