How do you call the method "DDC_GetChannelGroups" in the "nilibddc.dll" correctly with c#?
The method takes three arguments:
1. file handle (integer)
2. group handles (array of group handles)
3. length of array mentioned above
The first argument is ok.
But what kind of data structure should i pass as the second argument. I've tried Int32, but if the array contains more than one argument (even though i know there is more than one group) the method fails.
How am i supposed to know how many channel groups there are in a given file beforehand anyway (this is a lesser problem though, because even when i know the exact number of groups it doesn't work).
I had overlooked the DDC_GetNumChannelGroups method, so thats an easy way to get the number of groups, but this doesn't solve the problem, because as i mentioned above, even when i know the exact number of groups it doesn't work.