BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with compile error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
mike
Guest





PostPosted: Sun Sep 18, 2005 7:10 pm    Post subject: Help with compile error Reply with quote



Hello all,

Could someone explain to me why I would get this type of an error in
Builder5. I really don't have any idea how to fix it or where to look to try
and solve it.

[C++ Error] IESnifferAutoFill.hpp(168): E2090 Qualifier 'Mshtml' is not a
class or namespace name
[C++ Error] IESnifferAutoFill.hpp(168): E2293 ) expected
[C++ Error] IESnifferAutoFillUserInfo.hpp(146): E2090 Qualifier 'Mshtml' is
not a class or namespace name
[C++ Error] IESnifferAutoFillUserInfo.hpp(146): E2293 ) expected


Thanks for any help in solving this problem.

Mike


Back to top
mike
Guest





PostPosted: Mon Sep 19, 2005 10:12 pm    Post subject: Re: Help with compile error Reply with quote



Remy,

Thanks for responding, I appreciate it very much.


Yes you are right. I'm not sure exactly what I should show though so I am
showing the actual lines of code where the errors are located. These are:


**Error Lines 1:
virtual void __fastcall Fill(const Mshtml::_di_IHTMLDocument2 Document,
Graphics::TColor BackgroundColor
, Graphics::TColor TextColor, bool HighlightOnly, bool ScanFrames)/*
overload */;

**Error Lines 2:
virtual void __fastcall Fill(const Mshtml::_di_IHTMLDocument2 Document,
Graphics::TColor BackgroundColor
, Graphics::TColor TextColor, bool HighlightOnly, bool ScanFrames)/*
overload */;


This code is located in the Mshtml.h file located in the Include directory
of CBuilder5.

If I have not shown enough or I have shaown the wrong thing, please let me
know and I will show whatever you require to help me.

Thanks

Mike


"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote

Quote:

"mike" <mfbrowne (AT) earthlink (DOT) nnet> wrote in message
news:432f4538$1 (AT) newsgroups (DOT) borland.com...

Could someone explain to me why I would get this type of an error
in Builder5. I really don't have any idea how to fix it or where to look
to try and solve it.

It would help if you would show the actual code that the compiler is
complaining about.


Gambit





Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Sep 19, 2005 11:19 pm    Post subject: Re: Help with compile error Reply with quote




"mike" <mfbrowne (AT) earthlink (DOT) nnet> wrote


Quote:
Could someone explain to me why I would get this type of an error
in Builder5. I really don't have any idea how to fix it or where to look
to try and solve it.

It would help if you would show the actual code that the compiler is
complaining about.


Gambit



Back to top
mike
Guest





PostPosted: Mon Sep 19, 2005 11:35 pm    Post subject: Re: Help with compile error Reply with quote

Liz,

Thanks for responding. Well I'm not sure, its one of the header files
located in the Include Directory of Builder5. I would include it here but it
is very large and because it can be found in the Include Directory I figure
it is better not to include it in these messages.

Mike
"Liz Albin" <lizalbinNotThis (AT) yahoo (DOT) com> wrote

Quote:
On Mon, 19 Sep 2005 18:12:11 -0400, mike wrote:

**Error Lines 1:
virtual void __fastcall Fill(const Mshtml::_di_IHTMLDocument2 Document,
Graphics::TColor BackgroundColor
, Graphics::TColor TextColor, bool HighlightOnly, bool ScanFrames)/*
overload */;

is Mshtml a type, a namespate? apparently the compiler doesn't think
so.

Please show /its/ definition
--
Good luck,

liz



Back to top
Liz Albin
Guest





PostPosted: Tue Sep 20, 2005 3:12 am    Post subject: Re: Help with compile error Reply with quote

On Mon, 19 Sep 2005 18:12:11 -0400, mike wrote:

Quote:
**Error Lines 1:
virtual void __fastcall Fill(const Mshtml::_di_IHTMLDocument2 Document,
Graphics::TColor BackgroundColor
, Graphics::TColor TextColor, bool HighlightOnly, bool ScanFrames)/*
overload */;

is Mshtml a type, a namespate? apparently the compiler doesn't think
so.

Please show /its/ definition
--
Good luck,

liz

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Sep 20, 2005 7:05 am    Post subject: Re: Help with compile error Reply with quote


"mike" <mfbrowne (AT) earthlink (DOT) nnet> wrote


Quote:
Yes you are right. I'm not sure exactly what I should show though
so I am showing the actual lines of code where the errors are located.

That is exactly what you should be showing.

Quote:
This code is located in the Mshtml.h file located in the
Include directory of CBuilder5.

No, they are not. mshtml.h is a Microsoft file. _di_IHTMLDocument2 is a
Borland typedef of the DelphiInterface class. That is not a Microsoft
declaration. _di_IHTMLDocument2 is not declared in mshtml.h at all. In
fact, _di_IHTMLDocument2 is not declared *anywhere* in BCB5 at all.

The syntax of the code you have quoted suggests that there is a VCL
declaration of _di_IHTMLDocument2 located somewhere in a unit named Mshtml,
such as Mshtml.pas and Mshtml.hpp. There are no such files anywhere in
BCB5, however. So either you made your own, or you are working with
third-party files that you did not tell us about yet.


Gambit



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Sep 20, 2005 7:06 am    Post subject: Re: Help with compile error Reply with quote


"Liz Albin" <lizalbinNotThis (AT) yahoo (DOT) com> wrote


Quote:
is Mshtml a type, a namespate? apparently the compiler
doesn't think so.

In this situation, the compiler expects it to be a namespace but is not
finding any such namespace defined. Which is rightly so, because there is
no such namesace anywhere in BCB5.


Gambit



Back to top
mike
Guest





PostPosted: Tue Sep 20, 2005 8:42 am    Post subject: Re: Help with compile error Reply with quote

Remy,

Thank you for responding in such great detail. I am in fact using a third
party control and I figured this error was caused by something I did wrong.
This control is from AppControls.

So I understand, I think, about what the problem is, but I have no clue as
to how to fix the problem. Can you give me some direction on what I need to
do to get the problem fixed.

Thanks again for your detailed response and help.

Mike
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote

Quote:

"mike" <mfbrowne (AT) earthlink (DOT) nnet> wrote in message
news:432f6fee (AT) newsgroups (DOT) borland.com...

Yes you are right. I'm not sure exactly what I should show though
so I am showing the actual lines of code where the errors are located.

That is exactly what you should be showing.

This code is located in the Mshtml.h file located in the
Include directory of CBuilder5.

No, they are not. mshtml.h is a Microsoft file. _di_IHTMLDocument2 is a
Borland typedef of the DelphiInterface class. That is not a Microsoft
declaration. _di_IHTMLDocument2 is not declared in mshtml.h at all. In
fact, _di_IHTMLDocument2 is not declared *anywhere* in BCB5 at all.

The syntax of the code you have quoted suggests that there is a VCL
declaration of _di_IHTMLDocument2 located somewhere in a unit named
Mshtml,
such as Mshtml.pas and Mshtml.hpp. There are no such files anywhere in
BCB5, however. So either you made your own, or you are working with
third-party files that you did not tell us about yet.


Gambit





Back to top
Liz Albin
Guest





PostPosted: Tue Sep 20, 2005 12:00 pm    Post subject: Re: Help with compile error Reply with quote

On Mon, 19 Sep 2005 19:35:03 -0400, mike wrote:

Quote:
I would include it here but it
is very large and because it can be found in the Include Directory I figure
it is better not to include it in these messages.

As Remy pointed out, no it's not

It's possible that you used to include a header, or a component you
used to use included it, and now the code and definitions are not part
of your program.
--
Good luck,

liz

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Sep 20, 2005 4:18 pm    Post subject: Re: Help with compile error Reply with quote


"mike" <mfbrowne (AT) earthlink (DOT) nnet> wrote


Quote:
So I understand, I think, about what the problem is, but I have
no clue as to how to fix the problem. Can you give me some
direction on what I need to do to get the problem fixed.

You could start by searching the files in the Includes folder to find the
one that actually declares _di_IHTMLDocument2, and then include it into your
code that is erroring.


Gambit



Back to top
mike
Guest





PostPosted: Wed Sep 21, 2005 12:55 pm    Post subject: Re: Help with compile error Reply with quote

Remy,

Thanks again for responding. I did perform this and it does not seem that I
have it anywhere.

Mike

"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote

Quote:

"mike" <mfbrowne (AT) earthlink (DOT) nnet> wrote in message
news:433003a0$1 (AT) newsgroups (DOT) borland.com...

So I understand, I think, about what the problem is, but I have
no clue as to how to fix the problem. Can you give me some
direction on what I need to do to get the problem fixed.

You could start by searching the files in the Includes folder to find the
one that actually declares _di_IHTMLDocument2, and then include it into
your
code that is erroring.


Gambit





Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Sep 21, 2005 4:40 pm    Post subject: Re: Help with compile error Reply with quote


"mike" <mfbrowne (AT) earthlink (DOT) nnet> wrote


Quote:
Thanks again for responding. I did perform this and it does
not seem that I have it anywhere.

Then the code will never work as-is. I'm surprised that AppControls'
authors would release such code without testing to make sure it actually
works in C++ in the first place. There is no Mshtml.hpp file available in
any version of BCB.


Gambit



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Sep 21, 2005 4:41 pm    Post subject: Re: Help with compile error Reply with quote


"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote


Quote:
Then the code will never work as-is. I'm surprised that AppControls'
authors would release such code without testing to make sure it
actually works in C++ in the first place. There is no Mshtml.hpp file
available in any version of BCB.

You need to contact the AppControls' authors. This is a bug in their code.


Gambit



Back to top
mike
Guest





PostPosted: Wed Sep 21, 2005 9:37 pm    Post subject: Re: Help with compile error Reply with quote

Remy,

Thanks again for responding, I do really appreciate it.

I have sent off multiple messages to the AppControl people and have not had
a response as of yet. I will wait a bit and see what they say.

Mike
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote

Quote:

"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
news:43318ce2$1 (AT) newsgroups (DOT) borland.com...

Then the code will never work as-is. I'm surprised that AppControls'
authors would release such code without testing to make sure it
actually works in C++ in the first place. There is no Mshtml.hpp file
available in any version of BCB.

You need to contact the AppControls' authors. This is a bug in their
code.


Gambit





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.