By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,035 Members | 1,471 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,035 IT Pros & Developers. It's quick & easy.

ActiveX object and IEXPLORE.EXE process...

P: n/a
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

Jan 16 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Simon wrote:
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
Jan 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.