CString str(_T("a")); CComVariant v = str; if (v.ChangeType(VT_R8) != S_OK) { // string is not number }
ATL
C++
CComVariant
IsNumber
MFC
Retrieved from http://hyacinth.byus.net/moniwiki/wiki.php/C++/(ATL)CComVariant를 이용한 IsNumber
last modified 2012-08-24 13:40:34