Thread View: borland.public.cppbuilder.internet.web
6 messages
6 total messages
Started by Tom
Fri, 16 Mar 2007 20:44
IID_IHTMLElement3 is undefined
Author: Tom
Date: Fri, 16 Mar 2007 20:44
Date: Fri, 16 Mar 2007 20:44
8 lines
1189 bytes
1189 bytes
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. Thanks, Tom
Re: IID_IHTMLElement3 is undefined
Author: 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
>
>
Re: IID_IHTMLElement3 is undefined
Author: Remy Lebeau (TeamB)
Date: Fri, 16 Mar 2007 22:53
Date: Fri, 16 Mar 2007 22:53
22 lines
1632 bytes
1632 bytes
"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
Re: IID_IHTMLElement3 is undefined
Author: Remy Lebeau (TeamB)
Date: Sat, 17 Mar 2007 01:09
Date: Sat, 17 Mar 2007 01:09
11 lines
1254 bytes
1254 bytes
"Tom" <tom@nospam.net> wrote in message news:45fb1461@newsgroups.borland.com... > How does BDS2006 manage to use the interface > without having to custom define it. Because BDS has newer PSDK files that have what is needed. Gambit
Re: IID_IHTMLElement3 is undefined
Author: Tom
Date: Sat, 17 Mar 2007 01:26
Date: Sat, 17 Mar 2007 01:26
5 lines
1129 bytes
1129 bytes
> Because BDS has newer PSDK files that have what is needed. So if I copy the entire PSDK folder over I should be fine? -Tom
Re: IID_IHTMLElement3 is undefined
Author: Remy Lebeau (TeamB)
Date: Sat, 17 Mar 2007 05:35
Date: Sat, 17 Mar 2007 05:35
11 lines
1309 bytes
1309 bytes
"Tom" <tom@nospam.net> wrote in message news:45fb43b0$1@newsgroups.borland.com... > So if I copy the entire PSDK folder over I should be fine? No. Borland tweaks the PSDK to accomodate each version it is shipped with. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads