what is different...?? (TBuf<64>...)
| Thu, 2004-11-25 12:46 | |
|
hello,
what is different?? When I have a local TBuf<64> in my function, I can use all of it's methods like Append... But when I define it in my header file(as a member variable) I cann't use Zero or Append method: in my header file I have defined it: TBuf<64> Name; and in one of the functions I wrote: Name.Zero(); but I get this error: error C2662: 'Zero' : cannot convert 'this' pointer from 'const class TBuf<64>' to 'class TDes16 &' ![]() I don't undrestand... |
|







Forum posts: 26
mikolajz
Forum posts: 364
Why don't you post some more of your code. The warning mentions the this pointer so post all of, or the relevant parts of the class