06-16-2026 01:12 AM
I have an issue that is similar to this one.
I use a device driver written in .NEW.
I've already created the .NET Controller (wrapper) and I'm able to use a lot of the functions from the wrapper.
Some of tjhe functions have a parameter that is a generic list with a special data type (System_Collections_Generic_List_T1).
I don't know how to create a list of this type.
In the thread I linked at the beginning of this topic I see that a function called
System_Collections_Generic_List_T1__Create_2( ...)
is referenced, but I don't find this function, neither in the driver .h file, nor in the mscorlib .h file.
Where is that function?
(I use CVI 2015 SP1)
06-17-2026 01:16 AM - edited 06-17-2026 01:22 AM
In the thread I linked at the beginning of this topic I see that a function called
System_Collections_Generic_List_T1__Create_2( ...)is referenced, but I don't find this function, neither in the driver .h file, nor in the mscorlib .h file.
I mean, I don't find it in the mscorlib (.h - .c - .fp) available in the supplied CVI samples/dotnet folder.
Should I use mscorlib2 (.h - .c - .fp) in the same folder?
Or should I generate a mscorlib4 wrapper by myself?