After reviewing this topic several times over the past weeks, the issue is finally clear to me. Turns out, Register Event Callback Node is actually supposed to be used only for .NET and ActiveX events, even though it clearly also works for user events. Whether this is intended behavior I can't say but it is certainly undocumented...
Use this function to register .NET and ActiveX events only.
-- https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/register-event-callback.html
For the purpose of user events, Register For Events should be used.
This will require some refactoring to fix all calling sites. In the meantime, there will be a hotfix to disable callback refnums on non-Windows platforms.
Originally posted by @logmanoriginal in #23
Originally posted by @logmanoriginal in #23