Hi all,
I recently posted about an issue I was having which no-one could help
with, but I have researched some more and have discovered something
very strange...
I have a C# dll in the GAC and registered for COM Interop. This I know
for sure has no memory leaks etc. as a simple test page can load, use
and then dispose of the object without a problem.
However I have a more complicated solution to add this to, and using
the same code as my test page it stops the iexplore.exe process from
ending under certain circumstances. The solution in question creates
and opens a new window of set size, no title bar etc. which houses a
frameset, which in turn has iframes. Now if I leave the original window
open the process will finish perfectly, on the other hand if I shut the
original window and submit a post on an iframe the process will not end
without help from task manager when Internet Explorer is closed!
It seems very weird that simply submitting the iframe causes this
issue. All the submit does is change the iframe to a webpage containing
one line of text, nothing else. Can the creation of the ActiveX object
after the iframe submit try and attach to the original (parent) window?
Is there a handle left over that causes the process to halt? Or is it
nothing to so with the iframe submit?!
Any help / insight would be great as I have spent ages on this to no
avail.
Thanks, Simon