Hi Konstantin,
That's something I was not aware of. So it's the best clue I heard today.
Oh men!!! You are sooooo great....
My Class address is 55a7ebe0
Received Class address is d15dddf0
Do you think that registering the address using this pointer here is
wrong? Or it's just that there's a bug on the library that's passing me
that value? if(!sg64_zeromq_register_handler(mqsubscriber,
callbackWrapper, *this*, &error)){ Best regards,
On 04/10/17 17:41, Konstantin Shegunov wrote:
On Wed, Oct 4, 2017 at 6:39 PM, Gonzalo Aguilar Delgado
<gagui...@aguilardelgado.com <mailto:gagui...@aguilardelgado.com>> wrote:
Yes it is. Because the code of the function starts to execute. In
the example the processMessage. Until the operation stops on emit
and the program crash.
emit requires you to have a valid `this` pointer, nothing before that,
unless I have missed something, does - you're using only local
variables. Most (if not all) compilers will still allow you to call
methods with invalid objects up to the point where the object (i.e.
`this`) is actually referenced.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest