> do away with the event structure and go entirely with windows messages.
> This could be done by defining some custom messages that replace the labview events (e.g., WM_STOPBUTTON_PRESSED = stop button, value changed event)
> and have the VI post these messages using PostMessage from User32.DLL and then catch these messages in the same manner as the NI Windows Messaging Queue VI.