This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EC++ and RTX tiny problem

Hi All,
Please help me on this problem and it is urgent.
i have a EC++ class called ADC which i am trying to access from RTX tiny task.
I am getting the following errors for ADC class file

ADC.H(25): warning C34: 'ADC': missing declaration specifiers
ADC.H(25): error C42: 'ADC': not in formal parameter list
ADC.H(25): error C25: syntax error near '{'

and following for the RTX Tiny file

RTX_EX2.C(30): warning C34: 'adc_object0': missing declaration specifiers
RTX_EX2.C(30): error C42: 'adc_object0': not in formal parameter list
RTX_EX2.C(31): warning C34: 'ADC': missing declaration specifiers
RTX_EX2.C(31): error C42: 'ADC': not in formal parameter list
RTX_EX2.C(31): error C25: syntax error near '*'

I am using both uvision 2 and 3 IDE with C166 compiler.These two files compiles and run correctly on their own.

Your expert help is much appriciated.

wasantha