getting invalid decimal values on the IWMSPublishingPoint TotalCounters interface...



Hi All,

I am writing a custom plug-in for WMS on Server2003 using C# (VS2005).

I am trying to use IWMSPublishingPoint.TotalCounters.FileBytesRead.
MSDN states that "The FileBytesRead property retrieves the total
number of bytes read for the publishing point since the last reset."
It is reported as type object containing a "number of bytes" value.

In C++ it was a "CComVariant" of subtype CURRENCY (64bit int).

In C# all this field delivers to me is "invalid decimal". If you
check the return objects type is listed as "decimal" - is any one else
having any problems with "FileBytesRead" or "PlayerBytesSent"?

Do I need to do some special type of marshaling in the case of these
values?

Thanks,
Terry

.


Loading