| Reply | « Previous Thread | Next Thread » |
|
Hi..
I need to pass a const TDesC16 or TDesC8 service description parameter to UpdateAttributeL(). But i need this parameter is generated dynamically, its contents change depending on the scenario..., before being passed to the function. How can i do this? If anyone wants to know, i'm trying to pass a dynamically generated service description to the SDP database , like this: iSdpDatabase.UpdateAttributeL(iRecord, KSdpAttrIdBasePrimaryLanguage + KSdpAttrIdOffsetServiceDescription, KServiceDescription); Where KServiceDescription was originally:... _LIT(KServiceDescription, "I need these contents to be dynamic"); Any idea anyone? |
|
guess i found the answer..
Create a TBuf, do what i want to do with it, create a TBufC, copy TBuf's data. pass TBufC |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|