miguelc
2008-08-14 16:10:08 UTC
I'm wondering if anyone has found a way to create a delegate constructor in LabVIEW. I read a post awhile ago saying delegates could be used but only in certain situations. Looking at the NET Event Callback for DataWatcher in LabVIEW examples, there is a public delegate called "EventHappenedDelegate". The inputs for the constructor are "object" (System.Object) and "method" (System.IntPtr). If it is possible to create a delegate constructor, what would you input for these two inputs?
NET Event Callback for DataWatcher.vi:
http://forums.ni.com/ni/attachments/ni/170/349329/1/NET Event Callback for DataWatcher.vi
NET Event Callback for DataWatcher.vi:
http://forums.ni.com/ni/attachments/ni/170/349329/1/NET Event Callback for DataWatcher.vi