On Tuesday 23 April 2013 09:12:06 Shaheed Haque wrote:
> Hi Brad,
> 
> One more thing I just noticed. My changes to ChangeHighlight in
> property.idl are not quite right. I change the last field to this:
> 
> Reserved[ChangeHighlightSize - 4]
> 
> 
> I noticed that I get errors flagged like this:
> 
>         ndr_pull_error(12): Alloc 4294967292 * r->Reserved failed:
> gen_ndr/ndr_property.c:1074
> 
> Notice the long number is 0xfffffffc, or -4. When I checked, according to
> http://msdn.microsoft.com/en-us/library/office/cc979209.aspx it seems the
> reason is that should look more like this:
> 
> Reserved[ChangeHighlightSize > 4 ? ChangeHighlightSize - 4 : 0]
> 
> 
> Unfortunately, when I make this change, I get this message instead (I'm
>  not totally sure where it comes from, probably my libndr.so):
> 
>         ndr_pull_error(11): Pull bytes 4 (../librpc/ndr/ndr_basic.c:148)
> 
> Anyway, I hope this might give you enough clues to know what to change.
I'll take a look at this when I next get back to it.

I did some work on it (local commits) - I'd really like to find a better way 
than the (impressive) hack you did to deal with the "WriterV2" situation. I'm 
not sure how that is going to go yet, but I'd like to investigate it a bit 
more.

Brad
_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to