2009/6/28 Gerald Pfeifer <[email protected]>:
> Strike that, I must have misread the documentation.
>
> Only thing I am wondering is do we really need the (unsigned long) here?

Yes, as conformance/variance is restricted by NDR to 32-bit
quantities. The IDL compiler should warn/error without the cast as it
would be silently truncating the value used for computing the memory
allocated for storing the array.

> If anyone has a pointer to clear documentation that would be nice; what I
> found so far leaves some questions open...

The DCE/RPC specification would be a good start, but there is probably
some MSDN documentation on the limitations of size_is expressions in
IDL.

-- 
Rob Shearman


Reply via email to