Problem with TDes
| Fri, 2008-04-04 08:27 | |
|
Hi everybody, I have a question that is probably a stupid question but I've been searching and i don't know which is the solution. Here is my code: void Analyse(TInt c, TUint8 comand[], TDes& c); Is there an error in the definition of the TDes?or is it another problem? thanks |
|






Forum posts: 1248
Make it TBuf<10> instead of TDes<10>, and it should work.
Recommended reading:
http://descriptors.blogspot.com/
René Brunner
Forum posts: 61
In Short, you cannot instantiate directly from TDes, they are used as arguments in passign values in functions.
Forum posts: 25
TDes and TDesC are abstract classes, used only while passing parameters to functions. You can not instantiate these classes.
Forum posts: 26
Thanks!