Hi, just a couple quick questions related to .NET interaction:
1) If I have a class method that uses value types passed by reference:
int MyMethod(ref int myParam);
How do I invoke this method in LabView? The invoke node specifies the type of myParam as a .NET Refnum. I have tried using another Invoke node to create a reference to a System.Int32 object (Int32 has no constructor) and pass the Int32 Invoke node reference to myParam. This, however, doesn't work (it creates "class conflict":). Wiring an I32 type LV control doesn't work either. This seems pretty simple, and I'm probably missing something obvious, but I can't figure out how to do it.
2) Is checking for error 1172 the only way to catch .NET exceptions in LV? Is it possible in any way to get an instance of the exception type with access to the properties of that exception type? I assume that the source field in the error cluster contains the Message property of the execption, which could be parsed out of the string, but is there any way to access other information that might be contained in the exception?
Thanks,
Matt