Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _bstr_t name;
- if(chat->Type == Skype::chatTypeDialog || chat->Type == Skype::chatTypeLegacyDialog)
- name = chat->FriendlyName.copy();
- else
- name = chat->Topic.copy();
- BSTR strEnd = StrStr(name.GetBSTR(), L"|");
- if(strEnd != NULL) {
- *strEnd = L'\0';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement