标签:
wchar_t* longStr = (wchar_t*) malloc(16*sizeof(wchar_t)); swprintf(longStr, L"%d", this->m_longAuthority); this->m_pToolTip->SetText(TEXT_KEY_RESULT,CComBSTR(longStr)); free(longStr);
LONG 转 CComBSTR
原文地址:http://www.cnblogs.com/aoun/p/4568945.html