Board index » cppbuilder » Ambiguity between 'TTimer' and 'Qextctrls::TTimer'

Ambiguity between 'TTimer' and 'Qextctrls::TTimer'


2004-12-10 06:04:49 PM
cppbuilder19
[C++ Error] XXX.h(13): E2015 Ambiguity between 'TTimer' and
'Qextctrls::TTimer'
how can I solve it?
I need 'TTimer'
 
 

Re:Ambiguity between 'TTimer' and 'Qextctrls::TTimer'

"Emmanuel" < XXXX@XXXXX.COM >wrote in message
Quote
[C++ Error] XXX.h(13): E2015 Ambiguity between
'TTimer' and 'Qextctrls::TTimer'
The only way that can happen is if you are mixing CLX and VCL in the same
project. You can't do that.
Gambit
 

Re:Ambiguity between 'TTimer' and 'Qextctrls::TTimer'

but there is no CLX in my project
"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >дʼ
Quote

"Emmanuel" < XXXX@XXXXX.COM >wrote in message
news: XXXX@XXXXX.COM ...

>[C++ Error] XXX.h(13): E2015 Ambiguity between
>'TTimer' and 'Qextctrls::TTimer'

The only way that can happen is if you are mixing CLX and VCL in the same
project. You can't do that.


Gambit


 

{smallsort}

Re:Ambiguity between 'TTimer' and 'Qextctrls::TTimer'

"Emmanuel" < XXXX@XXXXX.COM >wrote in message
Quote
but there is no CLX in my project
Your code is including CLX headers. "Qextctrls" is a unit in CLX. That is
the only way the error you are seeing to be occuring.
Gambit