|
|
User login
Feeds |
cannot call member function
|
|||||
| Wed, 2003-09-10 12:45 | |
|
Hi,
I have another question. When trying to compile my code I get the following message cannot call member function 'Cp800_gps::read(TDes8 &)' without object I call the method the following way Code: int status = read( iReadBuffer ); Where the method is Code: int read( TDes8& iReadBuffer ) Both methods reside within the same class I use the following part of the header file Code: private: int read( TDes8& iReadBuffer ); }; What am I doing wrong? Thanks in advance Alex |
|
Forum posts: 15
Gareth Poulton
Forum posts: 15
I think it must have something to do with the way I try to call the method
Forum posts: 2029
{
}
rather than
{
}
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 15
I also had to change the way I access my class. Earlier I did it by using static access.
Now I changed it to creating an new object and than access the methods of this object.
Thanks for your help!