ActiveX object and IEXPLORE.EXE process...

S

Simon

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
 
T

Thomas 'PointedEars' Lahn

Simon said:
I recently posted about an issue I was having which no-one could help
with,

Maybe nobody understood your problem due to insufficient description, or
nobody cared?
but I have researched some more and have discovered something
very strange...

It would (have )be(en) prudent if you posted the message-ID of
the thread you are referring to or simply continued that thread.
[...]
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!
[...]
Can the creation of the ActiveX object after the iframe submit try and
attach to the original (parent) window?

ISTM that is rather a problem of trying to display a response to a form
submit in a window that no longer exists.

Apart from that, I am sorry, I fail to see the relevance to JS/ECMAScript
programming. Browser windows can be opened in a number of ways as can
ActiveX/COM objects be created and forms be submitted.

If you would be more specific, including post /some/ snippets of code or
the public URI of a test case, maybe that could help others to help you.
Otherwise you should post to a group that deals explicitly with Internet
Explorer and ActiveX/COM programming.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top