Nicolas,
I created a PBNI non-visual extension. The function arguments are:
any astr_structure The structure
string as_structname Name of the structure
string as_element[] Array of element names
The function serializes the structure in a custom format which includes the structure name, the name of the elements, and the data value for each element.
The string is transmitted to another program that uses PBNI to recreate the structure with each element containing the data value it had in the first program.
I wish there was a way to refer to the structure fields (elements) by number instead of by name. Then I wouldn't have to send the names.
Roland
you should have in your calling code a local variable str_point lstr_points[3], and just pass this variable to the external function, where prototype may looks like:
boolean PlgBlt(ulong hdcDest, ref str_point lpPoint[],ulong hdcSrc, int xSrc,int ySrc, int width, int height, ulong hbmMask, int xMask, int yMask)