22.06.2016 22:01, Jiří Činčura wrote:
>> is considered non-NULL: zero or anything != -1? I expected the former
>> (this is how the engine handles messages) while Jiri supposes the
>> latter. Where is the truth?
>
> From my testing - on external engine messages - only the 0 was handled
> as not
22.06.2016 18:58, Adriano dos Santos Fernandes wrote:
>
>> looking into memory dump for parameters in external engine in OO API is
>> { 0xFF 0xFF } for true and anything else (basically 0) for false.
>> Correct?
>
> Yes, 0xFF 0xFF is -1 (signed short).
Is it really correct? I know that -1 is used
Thanks for confirmation.
--
Mgr. Jiří Činčura
Independent IT Specialist
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
On 22/06/2016 11:35, Jiří Činčura wrote:
> Hi *,
>
> looking into memory dump for parameters in external engine in OO API is
> { 0xFF 0xFF } for true and anything else (basically 0) for false.
> Correct?
>
Yes, 0xFF 0xFF is -1 (signed short).
Adriano
Hi *,
looking into memory dump for parameters in external engine in OO API is
{ 0xFF 0xFF } for true and anything else (basically 0) for false.
Correct?
Thanks.
--
Mgr. Jiří Činčura
Independent IT Specialist
--
Attend