Subject Re: [IBO] Setting Locate Options w/BCB 5
I solved the problem. I needed to include the "using namespace std"
directive to include the Object Pascal compatible set class now
everything works fine!


--- In IBObjects@y..., "Leigh J. Worthing" <lworthing1@h...> wrote:
> I am converting from TIBO to native components and need to know how
to set
> the locate options in a locate call to lopFindNearest. With TIBO I
used the
> following
> TLocatOptions Ops;
> Ops << loFindNearest;
> This code:
> TIB_LocateOptions Ops;
> Ops << lopFindNearest;
> gives me the following error "<< operator not defined for
> Thanks,
> Leigh