On Fri, 2012-04-27 at 16:27 +0200, Lukas Zeller wrote:
> On Apr 25, 2012, at 15:11 , Patrick Ohly wrote:
> > But in practice that pointer is always NULL. I wasn't sure anyway
> > whether I would get the pointer to the local or remote datastore.
> 
> from fDsP you'd get the pointer to the local datastore (TLocalEngineDS *).
> 
> So to reach the remote datastore from a given TMultiFieldItem (which
> you certainly have at comparescript), I'd rather use
> 
>   yourMultiFieldItem->getRemoteItemType->getRelatedDatastore()
> 
> to get to the datastore that has defined that item's remote type.

Thanks, that worked.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



_______________________________________________
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to