Subject Re: [IBO] TIB_Protocol Discrepancy
Author Helen Borrie
At 04:24 AM 21-10-02 +0000, you wrote:
>Hello,
>
> (IBO4_2Hf, BCB6-SP2, FB1-796)
>
> Just been looking at the TIB_Protocol values.
>
> In BCB, the IB_Session.hpp has the following enum:
>
> enum TIB_Protocol { cpLocal, cpNetBEUI, cpTCP_IP, cpNovell };
> (cpLocal being 0, so cpTCP_IP is 2)
>
> But in the Protocols property on the TIB_Connection component, the
>values are ordered: cpLocal, cpNetBEUI, cpNovell, cpTCP_IP
>
> So... are the underlying values correct for both, but one of them
>has a messed-up order, or is there a problem?

I've never had a problem but then I don't reference them by number - I
always use the constant. The constants all work as expected.

The ordering in the property editor is no doubt due to alphabetical sorting.

Helen