Another option is that cout is buffering the string and keeping a
reference for the pointer (unlikely but...), that would cause a strange
behavior because the returned string not necessarily can be referenced.

Best,
Scuri


Em ter, 18 de jun de 2019 às 09:51, Johann Philippe <[email protected]>
escreveu:

> Thanks, i'm using the IFniis
> Le mardi 18 juin 2019 à 14:03:41 UTC+2, Antonio Scuri <
> [email protected]> a écrit :
>
>
>   Notice that there is a very similar callback signature:
>
> sIFniis x IFniis (the correct one)
>
>   This could be causing your problems.
>
> Best,
> Scuri
>
>
> Em seg, 17 de jun de 2019 às 19:39, Johann Philippe via Iup-users <
> [email protected]> escreveu:
>
> Hello all,
> A small report :
> The "VALUE_EDIT_CB" of the IupMatrix (tested with IupMatrixEx) seems to
> have some kind of issue.
> I'm using it in C++ with the IUP_DECLARE_CALLBACK, IUP_INITCALLBACK and
> IUP_SETCALLBACK (which by the way work very fine for all other callbacks).
> Sometimes, this one works ok. But at some point, it blocked my std output
> stream (i was printing the values of course). Not sure why. I could see
> that it printed some 0 values at startup, and then the output stream was
> blocked for all the application (I couldn't even use cout in another class
> or anything).
>
> Finally I Use the "LEAVEITEM_CB", which is almost the same in my case.
>
> I hope it can help.
>
> Johann
>
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to