Seems that IHTMLDocument2::get_frames doesn't gets all iframes. Is it possible that it ignores iframes with different domains even if it is not called from an script? Have you any idea how to get all documents inside an WebBrowser?
"crotest" wrote in message news:B03A26F2-0840-44AA-8935-1E1CF27C2F88@microsoft.com > Seems that IHTMLDocument2::get_frames doesn't gets all iframes. Do you have an example of that? A URL where some frames are missed? > Is it possible that it ignores iframes with different domains even if > it is not called from an script? C++ code using DHTML DOM interfaces is under the same security restrictions as the script on a page. However, those restrictions don't prevent one from enumerating frames, even when loaded from a different domain. They prevent one from reaching inside the frame and accessing its document. See http://support.microsoft.com/kb/196340 . This technique bypasses cross-domain scripting restrictions. -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925