|
// *********************************************************
// 16進数文字列を整数値に変換
// 戻り値 : 変換された数値
// *********************************************************
int LboxString::Ahextoi( LPCTSTR pszBuffer )
{
BOOL bRet;
int nRet;
bRet = StrToIntEx( pszBuffer, STIF_SUPPORT_HEX, &nRet );
if ( !bRet ) {
return 0;
}
return nRet;
}
int LboxString::Ahextoi( void )
{
BOOL bRet;
int nRet;
bRet = StrToIntEx( LboxString::szLboxString, STIF_SUPPORT_HEX, &nRet );
if ( !bRet ) {
return 0;
}
return nRet;
}
| |