break;
case 5 : // RATIONAL
pChild->Text = FloatToStr( *reinterpret_cast<DWORD *>( aTIFFHeader + ent.EntryValue )
/ ( double )( *reinterpret_cast<DWORD *>( aTIFFHeader + ent.EntryValue + sizeof ( DWORD ) ) ) );
break;
case 7 : // UNDEFINED
if ( ent.EntrySize <= 4 )
pTemp = reinterpret_cast<BYTE *>( &ent.EntryValue );
else
pTemp = aTIFFHeader + ent.EntryValue;
pChild->Text = "";
for ( int j = 0; j < ( int )ent.EntrySize; ++j )
{
pChild->Text = pChild->Text
+ Format( " 0x%.02X", ARRAYOFCONST( ( ( int )( BYTE )( *pTemp ) ) ) );
pTemp++;
if ( j % 16 == 15 )
pChild->Text = pChild->Text + "\r\n";
}
break;