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);
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);
转载于:https://www.cnblogs.com/aoun/p/4568945.html