#93 axDump dies on UInt16 values in AAF file.

open
nobody
None
5
2006-03-07
2006-03-07
dezi62
No

in axPropertyValueDump

around line 113 i changed the following code
(aaf##T => aafInt32)
=========================
#define CASE( T ) \ case sizeof( aaf##T ) : \ { \ aaf##T i; \ axTypeDef.GetInteger( spPropVal, &i ); \ using namespace std; \ _os << L"(" << AxStringUtil::mbtowc( #T ) << L") "
<< dec << i << L" 0x" << hex << i << dec; \ break; \ }
===========================
#define CASE( T ) \ case sizeof( aaf##T ) : \ { \ aafInt32 i; \ axTypeDef.GetInteger( spPropVal, &i ); \ using namespace std; \ _os << L"(" << AxStringUtil::mbtowc( #T ) << L") "
<< dec << i << L" 0x" << hex << i << dec; \ break; \ }
=========================

Probably the axTypeDef.GetInteger does not work as
expected, since it always returns a 32 bit value...

Thanks Folks.

Discussion