12-15-2014 02:40 AM
Hello,
I need to create a dictionary of type "System_Collections_Generic_IDictionary_T2" using labwindows CVI.
Can anyone send me a sample code ?
Regards
srk
12-15-2014 06:56 AM
12-16-2014 02:03 AM
ello Dan,
I created a .net controller in labwindows CVI for dSPACE.HILAPI.MAPort.dll, which generated a .fp/.c/.h that has below function.
int CVIFUNC ASAM_HILAPI_dSPACE_MAPort_MAPort__Create(ASAM_HILAPI_dSPACE_MAPort_MAPort * __instance, System_Collections_Generic_IDictionary_T2 configurationDict, CDotNetHandle * __exception);
I am looking for help in creating dictionary of type 'System_Collections_Generic_IDictionary_T2'.
I did not find any functions in mscorlib/mscorlib2 which can create a dictionary of type 'System_Collections_Generic_IDictionary_T2'.
12-16-2014 07:17 AM
12-16-2014 09:46 AM
Hello Dan,
Definition is pressent in mscorlib.h
typedef struct __System_Collections_Generic_IDictionary_T2 * System_Collections_Generic_IDictionary_T2;