 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Tom Guest
|
Posted: Sat Mar 17, 2007 1:44 am Post subject: IID_IHTMLElement3 is undefined |
|
|
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 |
|
| Back to top |
|
 |
Tom Guest
|
Posted: Sat Mar 17, 2007 3:04 am Post subject: Re: IID_IHTMLElement3 is undefined |
|
|
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 (AT) no (DOT) spam.com> wrote in message
news:45fb1216 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Tom" <tom (AT) nospam (DOT) net> wrote in message
news:45fb01a0 (AT) newsgroups (DOT) 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
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sat Mar 17, 2007 3:53 am Post subject: Re: IID_IHTMLElement3 is undefined |
|
|
"Tom" <tom (AT) nospam (DOT) net> wrote in message
news:45fb01a0 (AT) newsgroups (DOT) borland.com...
| Quote: | 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 |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sat Mar 17, 2007 6:09 am Post subject: Re: IID_IHTMLElement3 is undefined |
|
|
"Tom" <tom (AT) nospam (DOT) net> wrote in message
news:45fb1461 (AT) newsgroups (DOT) borland.com...
| Quote: | 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 |
|
| Back to top |
|
 |
Tom Guest
|
Posted: Sat Mar 17, 2007 6:26 am Post subject: Re: IID_IHTMLElement3 is undefined |
|
|
| Quote: | 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 |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sat Mar 17, 2007 8:10 am Post subject: Re: IID_IHTMLElement3 is undefined |
|
|
"Tom" <tom (AT) nospam (DOT) net> wrote in message
news:45fb43b0$1 (AT) newsgroups (DOT) borland.com...
| Quote: | 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 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|