English 中文(简体)
• 如何编造各种女神学家
原标题:How to concat various Symbian descriptors

我很难与女同性恋者打交道。 我基本上想听取各种描述,将它们合并为一个更大的描述者,也许将其归入一个RBuf。 此外,每类方案运行的长度都会改变数据,下文是我与我一起玩.但无法建造的kel子代码。

HBufC8 * aVar = someObj.aVarData();
HBufC * anotherVar = someObj.anotherVarData();
HBuf8 * someVar = someObj.someVarData();

//Perform some operation to convert the descriptors to the same type and add them to a RBuf;

RBuf toLog;
toLog.CreateL( _L("Info to Log"));
toLog.Append( aVar );
toLog.Append( anotherVar );
toLog.Append( someVar );

I have not been able to correclty figure out how to convert and add the descriptors to the buffer, as you can see from the comment. Thanks in advance.

最佳回答

附录提及TDesC,作为第1段。 因此,你的法典如下:

toLog.Append( *aVar );
toLog.Append( *anotherVar );
toLog.Append( *someVar );
问题回答

Your code looks approximately correct. What error do you get? Beware you are mixing 8 and 16-bit descriptor types.

http://descriptors.blogspot.com/“rel=“nofollow”http://descriptors.blogspot.com/





相关问题
How can I make mobile version of an existing web site?

We have a website coded with jsp-Java. Now, we want to show our website more user friendly on blackberry etc. Is there any tool or method to do this issue more easier? thanks for your answers.

Should I make my mobile application for Mobile 6 or Mobile 5?

I am going to be making a small application very soon. I am wondering would it be better to go and make it for 6.0 or should I make it for 5.0? I don t know much about both versions but I guessing ...

How do I combine @font-face and @media declarations?

I d like to build a common typography stylesheet with a very small number of selectors. As such, I d far prefer to use @media sections for the various versions rather than create different files, each ...

热门标签