Article View: borland.public.cppbuilder.internet.web
Article #69Re: IID_IHTMLElement3 is undefined
From: Tom
Date: Fri, 16 Mar 2007 22:04
Date: Fri, 16 Mar 2007 22:04
42 lines
2119 bytes
2119 bytes
Gambit,
Thanks for that. How does BDS2006 manage to
use the interface without having to custom define it.
One of your old posts that I used to get IHTMLElement3
from has the IID externed to, so it must be defined somewhere.
I'm just hoping to avoid having to track down random IID's
and I need them.
Thanks,
Tom
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:45fb1216@newsgroups.borland.com...
>
> "Tom" <tom@nospam.net> wrote in message
> news:45fb01a0@newsgroups.borland.com...
>
>> I updated my mshtml.h so that it includes the missing definitions.
>> However, upon compiling I receive and unresolved external for
>> IID_IHTMLElement3. Looking at mshtml.h it's defined as external,
>> so where is it really defined so I can update that file as well.
>
> Most Microsoft 'extern' variables are defined in VC++ static .lib
> files that you can't use in Borland compilers. You will have to add
> the definition to your own code, ie:
>
> --- Unit1.cpp ---
>
> #include <mshtml.h>
>
> const IID IID_IHTMLElement3 = {0x3050f673, 0x98b5, 0x11cf, {0xbb,
> 0x82, 0x00, 0xaa, 0x00, 0xbd, 0xce, 0x0b}};
>
>
> Gambit
>
>
Technical Details
Message-ID:
<45fb1461@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45fb01a0@newsgroups.borland.com> <45fb1216@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4d69e9d642890b3f X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tom" <tom@nospam.net> Newsgroups: borland.public.cppbuilder.internet.web References: <45fb01a0@newsgroups.borland.com> <45fb1216@newsgroups.borland.com> Subject: Re: IID_IHTMLElement3 is undefined Date: Fri, 16 Mar 2007 17:04:09 -0500 Lines: 44 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 68.1.78.156 Message-ID: <45fb1461@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1174082657 68.1.78.156 (16 Mar 2007 15:04:17 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail