I am trying to encapsulate some win23 API functions is labview and am having trouble with calling dll functions which use complex data structures, specifically nested struct pointers. I have no trouble with functions using simple data types or structs of only simple data types but how do you accomplish the following function calls:
int FunctionA(complexStructure *cs);
where the comples structute is defined as
complexStructure{
structA *a;
structB *b;
}
The issue is like derefferencing pointer to pointers?
Are clusters of clusters are flattened to contigious data in labview?
Here I want to pass a reference which has subreferences, and preallocate the approperate memory so I can pass such references, but I am stumped on how such calls are made using the Labview function call node. It would be nice to be able to use any dll but I just cant get these calls to work. Has anyone else experienced similar situations?
-Paul