-
Notifications
You must be signed in to change notification settings - Fork 3
Description
After reviewing this topic several times over the past weeks, the issue is finally clear to me. Turns out,
Register Event Callback Nodeis 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.htmlFor the purpose of user events,
Register For Eventsshould 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