🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #732

Re: Assigning eventhandlers to TWebControl

#732
From: Hans Galema
Date: Thu, 02 Nov 2006 20:45
20 lines
1430 bytes
Eric Jensen wrote:

> so, you may want to try to change your function from (what I assume looks 
> like this)
> 
> void __fastcall WebBrowser1DocumentComplete(TObject *Sender,const IDispatch 
> *pDisp,OleVariant &URL)
> 
> to
> 
> void __fastcall WebBrowser1DocumentComplete(TObject *Sender,const 
> _di_IDispatch pDisp,OleVariant &URL)

That does it exactly.

Great that you took the time to find out.

Thanks.

Hans.
Technical Details
Message-ID: <454a593a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <45486e95@newsgroups.borland.com> <4548e428@newsgroups.borland.com> <454a293d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,8607198c852a630
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 02 Nov 2006 21:45:27 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: Assigning eventhandlers to TWebControl
References: <45486e95@newsgroups.borland.com> <4548e428@newsgroups.borland.com> <454a293d@newsgroups.borland.com>
In-Reply-To: <454a293d@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <454a593a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1162500410 145.98.201.248 (2 Nov 2006 12:46:50 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail