Dear Ian,

1:
a)
The problem with this structure is that it holds a pointer to a
callback function, parameter "void        (*SRB_PostProc)();  // Post
routine". This is not supported under LV. If you can guarantee that
this function will never be called by setting of some of the other
parameters or will not be nesseccarilly be called to complete
succeefully you can fill this with a U32 containing 0. Maybe this will
be the only way by design that this function is not to call.
b)
The next one you cannot do is the "BYTE        *SRB_BufPointer;    //
Data Buffer Point
" parameter. You cannot tell LV that the element in the Cluster should
only contain a pointer to the data and not the data itself.
c)
LV does not store array data directly in a cluster. So the last three
parameters cannot be represented as data in a cluster. Maybe this will
be corrected by the "Adopt to type" Property in the "Configure DLL
call".

2:
a)
This is done by using "Initialize Array" with a U8 and 32 elements set
to 0. This will create a buffer.
b)
This is done by bundle by name.

But for problem 1b 2b will not do the right thing. It will insert a
handle to the array and not a pointer to the array.

The only chance you have is building a wrapper DLL or CIN to avoid
those pointer operations.

Waldemar

Reply via email to