Hi Joe,
I read your solution for translating the Commom.ULong64 into
.NET UInt64 type.
but I don't understand what is wrong with the DistributionMonitor sample code.
below is the code that retreives the requested statistic.
public long findStatisticType(PoolMember.CommonStatistic[] stat_list, PoolMember.CommonStatisticType stat_type)
{
//The DataGrid does not support 64 bit integers
// so this is cast to the lower 32 bits
long value = 0;
for(int i=0; i {
if ( stat_type == stat_list[ i ].type )
{
value = stat_list[ i ].value.low;
}
}
return value;
}
what is wrong with this code?
how would you correct it?
Thanks,
Tal