Article View: borland.public.cppbuilder.internet.web
Article #505Re: IE7 Navigate failing inside a thread
From: Tom
Date: Wed, 08 Nov 2006 20:29
Date: Wed, 08 Nov 2006 20:29
31 lines
2218 bytes
2218 bytes
> You can't do that. The Browser can only be accessed in the context of the > thread that created it. You cannot access it across thread boundaries > (without manually marshalling the ActiveX interface, which can get ugly). > That I didn't know. I can see about creating the browser in the context of the thread then, but as I recall I had problems with it not staying hidden. It was months ago that I wrote this so I'll have another go at it. >> IE6 and below function just fine. > > I seriously doubt that. It wasn't throwing errors with IE6, which tells me they didn't have it setup in the same fashion. Maybe it should have been, but it did work (and still) does for my clients. In either case as I stated above I'll try creating it inside the thread. > The UserAgent is the only application-specified identifer available. If > you > set Indy's UserAgent to match IE's, there is no other way a website can > differentiate between the two. There's absolutely nothing else with how it sends it's requests correct? If I check the rawheaders when the request is sent the UA shows up just fine, but the URL I provided in my original post fails. That same URL in a browser succeeds. If necessary I'll post a small program with sources showing exactly what I'm doing to reproduce it for you... -Tom
Technical Details
Message-ID:
<45523e23$2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<454f924b$1@newsgroups.borland.com> <45523b17$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,8c9cd506b6ec73e9 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tom" <tom@nospam.net> Newsgroups: borland.public.cppbuilder.internet.web References: <454f924b$1@newsgroups.borland.com> <45523b17$1@newsgroups.borland.com> Subject: Re: IE7 Navigate failing inside a thread Date: Wed, 8 Nov 2006 14:29:24 -0600 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 68.1.78.156 Message-ID: <45523e23$2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163017763 68.1.78.156 (8 Nov 2006 12:29:23 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail