case 9 : // SLONG
if ( ent.EntrySize == 1 )
pChild->Text = IntToStr( ent.EntryValue );
else
throw Exception( "Unsupported!" );
break;
case 10: // SRATIONAL
pChild->Text = FloatToStr( *reinterpret_cast<int *>( aTIFFHeader + ent.EntryValue )
/ ( double )( *reinterpret_cast<int *>( aTIFFHeader + ent.EntryValue + sizeof ( int ) ) ) );
break;
default: // LONG & other unknown type
pChild->Text = Format( "0x%.08X", ARRAYOFCONST( ( ( int )ent.EntryValue ) ) );
break;
}
switch ( ent.EntryTag ) {
case 0x8769 : // Exif IFD
GetIFD( aNode, aTIFFHeader, ent.EntryValue, "EXIF" );
break;
case 0x8805 : // GPS IFD